Scalr\Tests\Api\Rest\ApplicationTest::testNotFound PHP Méthode

testNotFound() public méthode

public testNotFound ( )
    public function testNotFound()
    {
        try {
            $this->app->notFound();
            $this->assertTrue(false, 'app->notFound() should throw StopException');
        } catch (StopException $e) {
            $this->assertTrue(true);
            $this->assertEquals(404, $this->app->response->getStatus());
        }
    }