public function setUp()
 {
     $this->c = $this->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')->setMethods(['getParameter'])->getMock();
     $this->c->expects($this->any())->method('getParameter')->will($this->returnValue('./tests/fixtures/'));
     $this->f = $this->getMockBuilder('Scribe\\Arthur\\DoctrineFixturesBundle\\DataFixtures\\YamlFixture')->setMethods(['getFixtureFileSearchPaths'])->getMock();
     $this->f->expects($this->any())->method('getFixtureFileSearchPaths')->will($this->returnValue(FixturePaths::create()->cartesianProductFromPaths(['tests/fixtures'])));
     $reflectionF = new \ReflectionClass('Scribe\\Arthur\\DoctrineFixturesBundle\\DataFixtures\\YamlFixture');
     $reflectionContainer = $reflectionF->getProperty('container');
     $reflectionContainer->setAccessible(true);
     $reflectionContainer->setValue($this->f, $this->c);
     $this->paths = $searchPaths = FixturePaths::create()->cartesianProductFromPaths([$this->c->getParameter('kernel.root_dir')]);
     parent::setUp();
 }
 public function setUp()
 {
     $this->data = Yaml::parse(file_get_contents('./tests/fixtures/BasicTree.yml'));
     parent::setUp();
 }