GraphAware\Neo4j\OGM\Tests\Metadata\PropertyAnnotationMetadataUnitTest::testCustomKeyCanBePassed PHP 메소드

testCustomKeyCanBePassed() 공개 메소드

    public function testCustomKeyCanBePassed()
    {
        $metadata = new PropertyAnnotationMetadata('string', 'dob');
        $this->assertEquals('dob', $metadata->getKey());
    }