Solution { public String replaceBlank(String string) { return string.replace(" ","%20"); }  String replaceBlank(String string);  }
@Test public void test1() { String str = "Mr John Smith"; assertEquals("Mr%20John%20Smith", solution.replaceBlank(str)); }