usageOfUndefinedMethodInMockAreAllowed() 공개 메소드

예제 #1
0
파일: runner.php 프로젝트: atoum/atoum
 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();
 }