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

testNewInstancesOfGivenClassCanBeCreate() public method

    public function testNewInstancesOfGivenClassCanBeCreate()
    {
        $entityMetadata = $this->entityMetadataFactory->create(Person::class);
        $o = $entityMetadata->newInstance();
        $this->assertInstanceOf(Person::class, $o);
    }