GeocodingFacadeEjb implements GeocodingFacade { static String escape(String raw) { return TO_BE_ESCAPED.matcher(raw.replace("\\", "\\\\")).replaceAll("\\\\$0"); }  @Override boolean isEnabled(); @Override GeoLatLon getLatLon(String street, String houseNumber, String postalCode, String city);  }
@Test public void testEscape() { assertThat(GeocodingFacadeEjb.escape("Test"), is("Test")); assertThat(GeocodingFacadeEjb.escape("Halle (Saale)"), is("Halle \\(Saale\\)")); }