public function testEventNameIsAccessible() { $exception = new WrongEventForStateException('stateName', 'eventName', 0); $this->assertSame('eventName', $exception->getEventName()); }