Exemple #1
0
 public function testShouldDefineACallbackActionOnConstructor()
 {
     $action = function () {
     };
     $daemon = new Daemon($action);
     $this->assertSame($action, $daemon->getCallable());
 }