public function testOrder()
{
$direction = 'DESCENDING';
$self = $this->query->order('propname', Query::ORDER_DESCENDING);
$this->assertInstanceOf(Query::class, $self);
$res = $this->query->queryObject();
$this->assertEquals($res['order'][0], ['property' => ['name' => 'propname'], 'direction' => $direction]);
}