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

testResolveFilesMethodCallsResolveFilesInFolders() public method

public testResolveFilesMethodCallsResolveFilesInFolders ( string $method, string $pathsMethod )
$method string
$pathsMethod string
    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');
    }