private transportOk ( PHPUnit_Framework_MockObject_Matcher_Invocation $matcher = null ) | ||
$matcher | PHPUnit_Framework_MockObject_Matcher_Invocation |
private function transportOk(InvocationMatcher $matcher = null)
{
$matcher = $matcher ?: $this->once();
$this->transport->expects($matcher)->method('send')->willReturn($this->expectedResponse);
}