예제 #1
0
파일: test.php 프로젝트: atoum/atoum
 public function test__set()
 {
     $this->given($test = new emptyTest(), $test->setAssertionManager($assertionManager = new \mock\mageekguy\atoum\test\assertion\manager()))->if($test->{$event = uniqid()} = $handler = function () {
     })->then->mock($assertionManager)->call('setHandler')->withArguments($event, $handler)->once();
 }