### Question:
Untemplate { public static String strip(String template) { return template.replaceAll("\\{[^}]*\\}", ""); }  static String strip(String template);  }### Answer:
@Test public void testTemplateBasic() throws Exception { assertEquals("", Untemplate.strip("{test}")); assertEquals("https: Untemplate.strip("https: }
@Test public void testTemplateWeird() throws Exception { assertEquals("https: Untemplate.strip("https: }