GraphAware\Neo4j\Client\Tests\Integration\ResultIntegrationTest::testRecordRelationshipValue PHP Method

testRecordRelationshipValue() public method

    public function testRecordRelationshipValue()
    {
        $this->emptyDb();
        $result = $this->client->run('CREATE (n)-[r:KNOWS]->(x) RETURN n, r');
        $record = $result->firstRecord();
        $this->assertInstanceOf(Relationship::class, $record->get('r'));
    }