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

testExceptionIsThrownForInvalidNodeValue() public method

    public function testExceptionIsThrownForInvalidNodeValue()
    {
        $this->emptyDb();
        $result = $this->client->run('CREATE (n) RETURN id(n) as id');
        $record = $result->firstRecord();
        $this->setExpectedException(InvalidArgumentException::class);
        $record->nodeValue('id');
    }