### Question:
QueryString { public String toString() { if (_uriStr.length() == 0) { return ""; } else { return "?" + _uriStr.toString(); } } QueryString(); QueryString add(String name, Object value); String toString();  }### Answer:
@Test public void testEmptyQueryString() { QueryString qs = new QueryString(); assertEquals("", qs.toString()); }