public function testResolveTemplateFileForControllerAndActionAndFormat()
{
$instance = new TemplatePaths(array('templateRootPaths' => array('EXT:flux/Does/Not/Exist/', 'EXT:flux/Tests/Fixtures/'), 'layoutRootPaths' => array('EXT:flux/Does/Not/Exist/', 'EXT:flux/Tests/Fixtures/'), 'partialRootPaths' => array('EXT:flux/Does/Not/Exist/', 'EXT:flux/Tests/Fixtures/')));
// 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->assertEquals(ExtensionManagementUtility::extPath('flux', 'Tests/Fixtures/Templates/AbsolutelyMinimal.html'), $result);
}