@Test public void get() { String originalQuery = "Hello Günter"; Query query = new Query(originalQuery); assertEquals("Hello+G%C3%BCnter", query.get()); }
public String get() { return query; }
Query { public String get() { return query; } }
Query { public String get() { return query; } Query(String str); }
Query { public String get() { return query; } Query(String str); String get(); }
Query { public String get() { return query; } Query(String str); String get();  }