Ouzo\ViewPathResolverTest::shouldReturnHtmlPathForTextContentType PHP Method

shouldReturnHtmlPathForTextContentType() public method

    public function shouldReturnHtmlPathForTextContentType()
    {
        //given
        $type = 'text/html';
        //when
        $path = ViewPathResolver::resolveViewPath('exception', $type);
        //then
        $this->assertEquals(ROOT_PATH . 'Application' . DIRECTORY_SEPARATOR . 'View' . DIRECTORY_SEPARATOR . 'exception.phtml', $path);
    }