@Test public void testGetHasTypeRefs() { final List<HasTypeRef> actualHasTypeRefs = informationItem.getHasTypeRefs(); final List<HasTypeRef> expectedHasTypeRefs = singletonList(informationItem); assertEquals(expectedHasTypeRefs, actualHasTypeRefs); }
@Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); }
InformationItem extends NamedElement implements DMNPropertySet,
                                                             IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } }
InformationItem extends NamedElement implements DMNPropertySet,
                                                             IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItem();  InformationItem(final Id id,
                           final Description description,
                           final Name name,
                           final QName typeRef); }
InformationItem extends NamedElement implements DMNPropertySet,
                                                             IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItem();  InformationItem(final Id id,
                           final Description description,
                           final Name name,
                           final QName typeRef); String getStunnerCategory(); Set<String> getStunnerLabels(); InformationItem copy(); @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(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode(); }
InformationItem extends NamedElement implements DMNPropertySet,
                                                             IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItem();  InformationItem(final Id id,
                           final Description description,
                           final Name name,
                           final QName typeRef); String getStunnerCategory(); Set<String> getStunnerLabels(); InformationItem copy(); @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(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode();  }