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