public function testResolveFilesMethodCallsResolveFilesInFolders($method, $pathsMethod)
{
$instance = $this->getMock('FluidTYPO3\\Flux\\View\\TemplatePaths', array('resolveFilesInFolders'));
$instance->{$pathsMethod}(array('foo'));
$instance->expects($this->once())->method('resolveFilesInFolders')->with($this->anything(), 'format');
$instance->{$method}('format', 'format');
}