public function test_deleteCategory() { $Help = new Help(); $Category = $this->testAddCategory(); $this->assertTrue($Help->deleteCategory($Category->id)); $this->setExpectedException("Exception", "Cannot delete category - no ID given"); $Help->deleteCategory(); }