/** * @expectedException RuntimeException */ public function test_getEntityFileInfo_ifTheresNoFileInfoForEntityThrowException() { $this->listener->getEntityFileInfo(new Image()); }