Property | Type | Description | |
---|---|---|---|
$testCase |
Method | Description | |
---|---|---|
__construct ( PHPUnit_Framework_TestCase $testCase ) | ||
getDouble ( string $classname, array $params, mixed $constructor_params = false ) : object | Get Mock Object | |
verifyInvoked ( object $mock, string $method, array $params = null ) | Verifies a method was invoked at least once | |
verifyInvokedMultipleTimes ( object $mock, string $method, integer $times, array $params = null ) | Verifies that method was called exactly $times times | |
verifyInvokedOnce ( object $mock, string $method, array $params = null ) | Verifies that method was invoked only once | |
verifyNeverInvoked ( object $mock, string $method, array $params = null ) | Verifies that method was not called |
Method | Description | |
---|---|---|
_verify ( $mock, $method, $params = null, $expects, $with ) |
public __construct ( PHPUnit_Framework_TestCase $testCase ) | ||
$testCase | PHPUnit_Framework_TestCase |