GisFeatureNames { public ImmutableSet<AlternateGisFeatureName> getAlternateNames() { return this.alternateNamesProvider.getAlternateNames(); } private  GisFeatureNames(String name); private  GisFeatureNames(String name, String asciiName, AlternateNamesProvider alternateNamesProvider); private  GisFeatureNames(String name, String asciiName, Iterable<AlternateGisFeatureName> alternateNames); static GisFeatureNames gisFeatureName(String name); GisFeatureNames withName(String name); GisFeatureNames withAsciiName(String asciiName); GisFeatureNames withAlternateNames(Iterable<AlternateGisFeatureName> alternateNames); GisFeatureNames withAlternateNamesProvider(AlternateNamesProvider alternateNamesProvider); String getName(); String getAsciiName(); ImmutableSet<AlternateGisFeatureName> getAlternateNames(); String getPreferredName(final Iso639Language language); String getShortName(final Iso639Language language); @Override String toString();  }
@Test public void shouldNotHaveAlternateNamesByDefault() { GisFeatureNames rambouillet = GisFeatureNamesObjectMother.rambouilletGisFeatureNameWithoutAlternateNames(); assertEquals(0, Iterables.size(rambouillet.getAlternateNames())); }