PhpOrient\RecordCommandsTest::testRecordLoad PHP Method

testRecordLoad() public method

public testRecordLoad ( )
    public function testRecordLoad()
    {
        $this->cluster_struct = $this->client->execute('dbOpen', ['database' => 'GratefulDeadConcerts']);
        $res = $this->client->execute('recordLoad', ['rid' => new ID("#9:5"), 'fetch_plan' => '*:2', '_callback' => function (Record $arg) {
            $this->assertNotEmpty($arg->getOData());
        }]);
        $this->assertNotEmpty($res);
    }