FluidTYPO3\Flux\Tests\Unit\View\TemplatePathsTest::testResolveFilesMethodCallsResolveFilesInFolders PHP 메소드

testResolveFilesMethodCallsResolveFilesInFolders() 공개 메소드

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');
    }