public function testOrderWithRelationAndLimit() { $galleries = Galleries::first(array('with' => array('Images'), 'order' => 'name')); $this->assertNotEmpty($galleries); }