예제 #1
0
 public function test_that_command_results_in_handled_event()
 {
     $command = new CreateTaskCommand('test');
     $this->container->get('command.bus')->execute($command);
     $this->assertTrue(Test::isUuid($this->container->get('test.subscriber')->taskId()));
 }