/** * @return null */ public function testInitialState() { $key = $this->masterKey; $this->assertInstanceOf('Appfuel\\Kernel\\Mvc\\MvcRouteHandlerInterface', $this->handler); $this->assertEquals($key, $this->handler->getMasterKey()); $detail = $this->handler->getMasterDetail(); $this->assertInstanceOf('Appfuel\\Kernel\\Mvc\\MvcRouteDetail', $detail); $this->assertTrue($this->handler->isValidKey($key)); $this->assertSame($detail, $this->handler->getRouteDetail($key)); }