@Test
  public void appendMappedQueryParamsWithExistingQueryStart() {
    assertEquals(
        "http://test.com/1?a=b",
        HttpRequest.append("http://test.com/1?",
            Collections.singletonMap("a", "b")));
  }
Append with base URL already containing a '?'
lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java