### Question:
InformationItemPrimary extends DMNModelInstrumentedBase implements DMNPropertySet,
                                                                                IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItemPrimary();  InformationItemPrimary(final Id id,
                                  final Name name,
                                  final QName typeRef); String getStunnerCategory(); Set<String> getStunnerLabels(); @Override Name getName(); @Override void setName(final Name name); @Override QName getTypeRef(); @Override void setTypeRef(final QName typeRef); @Override DMNModelInstrumentedBase asDMNModelInstrumentedBase(); @Override List<HasTypeRef> getHasTypeRefs(); QNameHolder getTypeRefHolder(); void setTypeRefHolder(final QNameHolder typeRefHolder); @Override String getDomainObjectUUID(); Id getId(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test public void testGetHasTypeRefs() { final List<HasTypeRef> actualHasTypeRefs = informationItemPrimary.getHasTypeRefs(); final List<HasTypeRef> expectedHasTypeRefs = singletonList(informationItemPrimary); assertEquals(expectedHasTypeRefs, actualHasTypeRefs); }