protected function expectEventNotToBeFired($event, $entity) { $event = 'mongolid.' . $event . ': ' . get_class($entity); $this->getEventService()->shouldReceive('fire')->with($event, $entity, m::any())->never(); }