• internal This class is not covered by the backward compatibility promise for PHPUnit
public abstract after( $id)
Defines the expectation which must occur before the current is valid.

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 PHPUnit\Framework\MockObject\Builder\Stub::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