Elgg\RouterTest::testCanRespondToUnregisteredRoute PHP Метод

testCanRespondToUnregisteredRoute() публичный Метод

See #9796
    public function testCanRespondToUnregisteredRoute()
    {
        $this->request = $this->prepareHttpRequest('unknown', 'GET');
        $this->createService();
        // Normally we would assert that this is false, but since PHPUnit is sending it's own headers
        // we will just make sure the response is not sent
        $this->assertTrue($this->route());
        $response = _elgg_services()->responseFactory->getSentResponse();
        $this->assertFalse($response);
        $this->markTestIncomplete();
    }
RouterTest