StackFormation\Tests\PreprocessorTest::processFile PHP Метод

processFile() публичный Метод

public processFile ( string $fixtureDirectory )
$fixtureDirectory string
    public function processFile($fixtureDirectory)
    {
        $prefix = FIXTURE_ROOT . 'Preprocessor/';
        $prefix .= $fixtureDirectory . '/';
        $templatePath = $prefix . 'blueprint/input.template';
        $fileContent = file_get_contents($templatePath);
        $this->assertEquals($this->preprocessor->processJson($fileContent, dirname($templatePath)), file_get_contents($prefix . 'blueprint/expected.template'));
    }