public function testDeleteByCriteria() { $criteria = $this->table->where('firstname=?', 'Llama')->delete(); $this->assertRowCount(0, "select * from user where firstname='Llamas'"); }