GraphAware\Neo4j\Client\Tests\Integration\ResultIntegrationTest::testExceptionIsThrownWhenTryingToGetRecordOnEmptyCursorWithGetRecord PHP Метод

testExceptionIsThrownWhenTryingToGetRecordOnEmptyCursorWithGetRecord() публичный Метод

    public function testExceptionIsThrownWhenTryingToGetRecordOnEmptyCursorWithGetRecord()
    {
        $this->emptyDb();
        $result = $this->client->run('MATCH (n) RETURN n');
        $this->setExpectedException(\RuntimeException::class);
        $result->getRecord();
    }