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