GisFeatureNames { public static GisFeatureNames gisFeatureName(String name) { return new GisFeatureNames(name); } 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(expected=IllegalArgumentException.class) public void shouldNotCreateGisFeatureNameWithNullName() { GisFeatureNames.gisFeatureName(null); }
@Test(expected=IllegalArgumentException.class) public void shouldNotCreateGisFeatureNameWithEmptyName() { GisFeatureNames.gisFeatureName(""); }