• internal This class is not covered by the backward compatibility promise for PHPUnit
AbstractInterface
ImplementsPHPUnit\Framework\MockObject\Builder\Identity
Methods
public abstract PHPUnit\Framework\MockObject\Builder\Identity::id( $id)
 
Sets the identification of the expectation to $id.

  • note The identifier is unique per mock object.
public abstract will(PHPUnit\Framework\MockObject\Stub\Stub $stub) : PHPUnit\Framework\MockObject\Builder\Identity
 
Stubs the matching method with the stub object $stub. Any invocations of the matched method will now be handled by the stub instead.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only