protected function thenDispatcherShouldReceiveLoggingEvents() { $this->dispatcherMock->shouldReceive('dispatch')->atLeast(1)->with('system.log', m::type('phpDocumentor\\Event\\LogEvent')); }