### Question:
Xsd2UmlPluginForSLI extends Xsd2UmlPluginDefault { @Override public String nameAssociation(final AssociationEnd lhs, final AssociationEnd rhs, final Xsd2UmlHostedPlugin host) { return ""; } Xsd2UmlPluginForSLI(); @Override List<TagDefinition> declareTagDefinitions(final Xsd2UmlPluginHost host); @Override String getAssociationEndTypeName(final ClassType classType, final Attribute attribute,
            final Xsd2UmlPluginHost host); @Override /** * The most reliable way to determine whether the attribute should be an association is to look for the tag that indicates * that the attribute should be treated as a reference. If there is no tag then we look for clues in the name of the attribute. */ boolean isAssociationEnd(final ClassType classType, final Attribute attribute, final Xsd2UmlPluginHost host); @Override String nameAssociation(final AssociationEnd lhs, final AssociationEnd rhs, final Xsd2UmlHostedPlugin host); @Override String nameFromSchemaTypeName(final QName name); @Override List<TaggedValue> tagsFromAppInfo(final XmlSchemaAppInfo appInfo, final Xsd2UmlPluginHost host);  }### Answer:
@Test public void testNameAssociation() throws Exception { AssociationEnd associationEnd = Mockito.mock(AssociationEnd.class); Xsd2UmlPluginHost host = Mockito.mock(Xsd2UmlPluginHost.class); Assert.assertTrue(pluginForSLI.nameAssociation(associationEnd, associationEnd, host.getPlugin()).isEmpty()); }