/**
  * Handle an event.
  *
  * @param DomainMessage $message
  *
  * @return void
  */
 public function handle(DomainMessage $message)
 {
     $event = $message->getPayload();
     $context = self::getContext($message);
     $this->handler->handle($event, $context);
 }
 private function assertHandlerWillHandleEventWithoutContext()
 {
     $this->handler->shouldReceive('handle')->with($this->event, null)->once();
 }