Implement and test Defect.setProject