PhlytyTest\AppTest::testRenderRendersATemplateToTheResponse PHP Method

testRenderRendersATemplateToTheResponse() public method

    public function testRenderRendersATemplateToTheResponse()
    {
        $view = $this->app->view();
        $view->setTemplatePath(__DIR__ . '/TestAsset');
        $this->app->render('test');
        $test = file_get_contents(__DIR__ . '/TestAsset/test.mustache');
        $this->assertContains($test, $this->app->response()->getContent());
    }
AppTest