Method | Description | |
---|---|---|
__construct ( $mock, $method, PHPSpec2\Mocker\MockerInterface $mocker, PHPSpec2\Wrapper\Argumentsunwrapper $unwrapper ) | ||
__invoke ( ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
shouldBeCalled ( ) | ||
shouldNotBeCalled ( ) | ||
willBeDefault ( ) | ||
willReturn ( $value ) | ||
willReturnArgument ( ) | ||
willReturnUsing ( $callback ) | ||
willThrow ( $exception, $message = '' ) |
Method | Description | |
---|---|---|
getExpectation ( ) |
public __construct ( $mock, $method, PHPSpec2\Mocker\MockerInterface $mocker, PHPSpec2\Wrapper\Argumentsunwrapper $unwrapper ) | ||
$mocker | PHPSpec2\Mocker\MockerInterface | |
$unwrapper | PHPSpec2\Wrapper\Argumentsunwrapper |