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

testExceptionIsThrownForInvalidRelationshipValue() public method

    public function testExceptionIsThrownForInvalidRelationshipValue()
    {
        $this->emptyDb();
        $result = $this->client->run('CREATE (n)-[r:KNOWS]->(me) RETURN id(r) as r');
        $record = $result->firstRecord();
        $this->setExpectedException(InvalidArgumentException::class);
        $record->relationshipValue('r');
    }