예제 #1
0
파일: test.php 프로젝트: atoum/atoum
 public function testMethodIsIgnored()
 {
     $this->if($test = new emptyTest())->then->exception(function () use($test, &$method) {
         $test->methodIsIgnored($method = uniqid());
     })->isInstanceOf('mageekguy\\atoum\\exceptions\\logic\\invalidArgument')->hasMessage('Test method ' . get_class($test) . '::' . $method . '() does not exist');
 }