/** * @expectedException HealthCareAbroad\LogBundle\Exception\ListenerException */ public function testGetLogClassByNameOfNoneExistingClass() { $logClass = $this->service->getLogClassByName('ThisClassShouldNeverEverExist13456'); }