FluidTYPO3\Flux\Tests\Unit\View\TemplatePathsTest::testResolveTemplateFileForControllerAndActionAndFormatReturnsNullIfNotFound PHP Method

testResolveTemplateFileForControllerAndActionAndFormatReturnsNullIfNotFound() public method

    public function testResolveTemplateFileForControllerAndActionAndFormatReturnsNullIfNotFound()
    {
        $instance = new TemplatePaths(array('templateRootPaths' => array('EXT:flux/Does/Not/Exist/'), 'layoutRootPaths' => array('EXT:flux/Does/Not/Exist/'), 'partialRootPaths' => array('EXT:flux/Does/Not/Exist/')));
        // note: this is slight abuse of the method: we aim at the Fixtures directory
        // itself and emulate a controller called "Templates" to make TemplatePaths
        // look in the Fixtures/Templates folder.
        $result = $instance->resolveTemplateFileForControllerAndActionAndFormat('Templates', 'AbsolutelyMinimal');
        $this->assertNull($result);
    }