GraphAware\Neo4j\OGM\Tests\Metadata\MetadataFactoryITest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $mappingDir = getenv('basedir') . DIRECTORY_SEPARATOR . 'src/Mapping/';
        AnnotationRegistry::registerFile($mappingDir . '/Neo4jOGMAnnotations.php');
        $this->annotationReader = new FileCacheReader(new AnnotationReader(), getenv('proxydir'), true);
        $this->entityMetadataFactory = new GraphEntityMetadataFactory($this->annotationReader);
    }