PHP Class PHPSpec2\Prophet\MockProphet

Inheritance: implements ProphetInterface
Exibir arquivo Open project: phpspec/phpspec2

Public Methods

Method Description
__call ( $method, array $arguments )
__construct ( $subject = null, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
__get ( $method )
beAMockOf ( $classOrInterface )
getWrappedSubject ( )

Method Details

__call() public method

public __call ( $method, array $arguments )
$arguments array

__construct() public method

public __construct ( $subject = null, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
$mocker PHPSpec2\Mocker\MockerInterface
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper

__get() public method

public __get ( $method )

beAMockOf() public method

public beAMockOf ( $classOrInterface )

getWrappedSubject() public method

public getWrappedSubject ( )