Exemple #1
0
 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();
 }