Doctrine\Tests\Search\Mapping\Driver\YamlDriverTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        if (!class_exists('Symfony\\Component\\Yaml\\Yaml', true)) {
            $this->markTestSkipped('This test requires the Symfony YAML component');
        }
        $this->yamlDriver = new YamlDriver(__DIR__ . DIRECTORY_SEPARATOR . 'files');
    }