GeonamesGeocoderService implements GeocoderService { public CoordinateReferenceSystem getCrs() { return crs; }  String getName(); @Api void setName(String name); @Api void setUserName(String userName); @Api void setUserNameProperty(String userNameProperty); CoordinateReferenceSystem getCrs(); GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore); List<Toponym> search(String q, int maxRows, boolean fuzzy);  }
@Test public void testGetCrs() throws Exception { CoordinateReferenceSystem crs = geocoder.getCrs(); Assert.assertEquals(4326, geoService.getSridFromCrs(crs)); }