PHP Class InterNations\Component\HttpMock\MockBuilder

Mostra file Open project: internations/http-mock Class Usage Examples

Public Methods

Method Description
__construct ( InterNations\Component\HttpMock\Matcher\MatcherFactory $matcherFactory, ExtractorFactory $extractorFactory )
any ( )
exactly ( $times )
flushExpectations ( )
once ( )
thrice ( )
twice ( )
when ( ) : Expectation

Method Details

__construct() public method

public __construct ( InterNations\Component\HttpMock\Matcher\MatcherFactory $matcherFactory, ExtractorFactory $extractorFactory )
$matcherFactory InterNations\Component\HttpMock\Matcher\MatcherFactory
$extractorFactory InterNations\Component\HttpMock\Matcher\ExtractorFactory

any() public method

public any ( )

exactly() public method

public exactly ( $times )

flushExpectations() public method

public flushExpectations ( )

once() public method

public once ( )

thrice() public method

public thrice ( )

twice() public method

public twice ( )

when() public method

public when ( ) : Expectation
return Expectation