usageOfUndefinedMethodInMockAreAllowed() public method

コード例 #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();
 }