function testAllFields() { $mock = $this->getMock('TikiDb'); $table = new TikiDb_Table($mock, 'my_table'); $this->assertEquals(array($table->expr('*', array())), $table->all()); }