@Test(expected = UnsupportedOperationException.class) public void testNameAssociation() throws Exception { AssociationEnd end = Mockito.mock(AssociationEnd.class); generic.nameAssociation(end, end, generic); }
@Override public String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host) { throw new UnsupportedOperationException(); }
Xsd2UmlPluginGeneric extends Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host) { throw new UnsupportedOperationException(); } }
Xsd2UmlPluginGeneric extends Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host) { throw new UnsupportedOperationException(); }  }
Xsd2UmlPluginGeneric extends Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host) { throw new UnsupportedOperationException(); }  @Override List<TagDefinition> declareTagDefinitions(final Xsd2UmlPluginHost host); @Override String getAssociationEndTypeName(final ClassType classType, final Attribute attribute,
            final Xsd2UmlPluginHost host); @Override boolean isAssociationEnd(final ClassType classType, final Attribute attribute, final Xsd2UmlPluginHost host); @Override String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host); @Override List<TaggedValue> tagsFromAppInfo(final XmlSchemaAppInfo appInfo, final Xsd2UmlPluginHost host); }
Xsd2UmlPluginGeneric extends Xsd2UmlPluginDefault implements Xsd2UmlHostedPlugin { @Override public String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host) { throw new UnsupportedOperationException(); }  @Override List<TagDefinition> declareTagDefinitions(final Xsd2UmlPluginHost host); @Override String getAssociationEndTypeName(final ClassType classType, final Attribute attribute,
            final Xsd2UmlPluginHost host); @Override boolean isAssociationEnd(final ClassType classType, final Attribute attribute, final Xsd2UmlPluginHost host); @Override String nameAssociation(AssociationEnd lhs, AssociationEnd rhs, Xsd2UmlHostedPlugin host); @Override List<TaggedValue> tagsFromAppInfo(final XmlSchemaAppInfo appInfo, final Xsd2UmlPluginHost host);  }