public function testLinkObjects() { $query = new Query(); $query->link('Company', 'id', 'in', true)->with('ORole', 'id'); $this->assertHttpStatus(200, $this->doQuery($query)); }