public function testDelete() { $this->resetRoomTypesTable(); $roomType = new RoomType(); $roomType->setAttributes(array('description' => 'Double Room', 'quantity' => 2)); $roomType->save(false); $this->assertTrue($roomType->delete()); }