/** * Test to send invalid signal */ public function testInvalidEntityEventException() { $this->setExpectedException('PHPHearthSim\\Exception\\Entity\\InvalidEventException'); // First entity should not notify anything $entity = new ZombieChow(['board' => $this->board]); $entity->emit('InvalidEvent'); }