### Question:
Category extends AbstractEntity implements TypeWithName, Comparable<Category> { public TreatmentCategorization getCategorization() { return d_owner; } Category(TreatmentCategorization owner);  Category(TreatmentCategorization owner, final String name); static Category createTrivial(Drug d); @Override String getName(); void setName(String name); @Override String getLabel(); @Override Set<? extends Entity> getDependencies(); @Override boolean equals(final Object o); @Override boolean deepEquals(Entity obj); @Override int hashCode(); @Override int compareTo(Category o); TreatmentCategorization getCategorization(); boolean isTrivial(); Drug getDrug(); boolean match(DrugTreatment t); boolean match(AbstractDose dose); String toString(); String getCriterionLabel();  }### Answer:
@Test public void testGetCategorization() { assertEquals(d_catz1, new Category(d_catz1, "A").getCategorization()); }