public function test_group() { $select = new Jam_Query_Builder_Select('test_post'); $select->group_by('test_post.id'); $this->assertEquals('SELECT `test_posts`.* FROM `test_posts` GROUP BY `test_posts`.`id`', (string) $select); }