public function testDeleteCategory() { $cat = ItemCategory::FindByName('Test Category 2'); ItemCategory::Delete($cat->id); $cat = ItemCategory::FindObject($cat->id); $this->assertTrue($cat == null); }