public function testErrorState() { $event = new Event('eventName', null, 'errorState'); $this->assertEquals('errorState', $event->getErrorState()); }