function testOrderByCreatedAtDesc() { $users = new Table("users"); $result = $this->fetchAll($users->order($users['created_at']->desc())); $this->assertEquals(array(3, 2, 1), $this->pluckIds($result)); }