public function setUp()
 {
     parent::setUp();
     $this->cacheDir = __DIR__ . '/data/cache';
     $this->mappingFile = __DIR__ . '/data/page/something.xml';
     $this->structure = $this->prophesize('Sulu\\Component\\Content\\Metadata\\StructureMetadata');
     $this->loader = $this->prophesize('Symfony\\Component\\Config\\Loader\\LoaderInterface');
     $this->factory = new StructureMetadataFactory($this->loader->reveal(), ['page' => [['type' => 'page', 'path' => __DIR__ . '/data/page']], 'snoopet' => [['type' => 'page', 'path' => __DIR__ . '/data/snoops']]], ['page' => 'something'], $this->cacheDir);
 }