PHPUnit7_AgileTestCase

class atk4\core\PHPUnit7_AgileTestCase
Generic TestCase for PHPUnit tests for ATK4 repos.
Source:vendor/atk4/core/src/PHPUnit7_AgileTestCase.php#12
Parent:PHPUnit\Framework\TestCase

Methods

public atk4\core\PHPUnit7_AgileTestCase::runBare()
Source:vendor/atk4/core/src/PHPUnit7_AgileTestCase.php#14
public atk4\core\PHPUnit7_AgileTestCase::callProtected($obj, $name, $args=[])
Calls protected method.
NOTE: this method must only be used for low-level functionality, not
for general test-scripts.
Source:

vendor/atk4/core/src/PHPUnit7_AgileTestCase.php#41

Parameters:
  • $obj (object)
  • $name (string)
  • $args (array)
Throws:

\ReflectionException

Returns:

mixed

public atk4\core\PHPUnit7_AgileTestCase::getProtected($obj, $name)
Returns protected property value.
NOTE: this method must only be used for low-level functionality, not
for general test-scripts.
Source:

vendor/atk4/core/src/PHPUnit7_AgileTestCase.php#63

Parameters:
  • $obj (object)
  • $name (string)
Throws:

\ReflectionException

Returns:

mixed

public atk4\core\PHPUnit7_AgileTestCase::testFake()
Fake test. Otherwise Travis gives warning that there are no tests in here.
Source:vendor/atk4/core/src/PHPUnit7_AgileTestCase.php#75