usageOfUndefinedMethodInMockAreAllowed() public method

Exemplo n.º 1
0
 public function testAllowUsageOfUndefinedMethodInMock()
 {
     $this->if($runner = new testedClass())->then->object($runner->allowUsageOfUndefinedMethodInMock())->isIdenticalTo($runner)->boolean($runner->usageOfUndefinedMethodInMockAreAllowed())->isTrue()->object($runner->allowUsageOfUndefinedMethodInMock())->isIdenticalTo($runner)->boolean($runner->usageOfUndefinedMethodInMockAreAllowed())->isTrue()->if($runner->disallowUsageOfUndefinedMethodInMock())->then->object($runner->allowUsageOfUndefinedMethodInMock())->isIdenticalTo($runner)->boolean($runner->usageOfUndefinedMethodInMockAreAllowed())->isTrue();
 }