public final String getBaseUrl() {
    return rootUrl + servicePath;
  }
@Test
  public void testBaseServerAndBasePathBuilder() {
    AbstractGoogleClient client =
        new MockGoogleClient.Builder(
                TRANSPORT,
                "http://www.testgoogleapis.com/test/",
                "path/v1/",
                JSON_OBJECT_PARSER,
                null)
            .setApplicationName("Test Application")
            .setRootUrl("http://www.googleapis.com/test/")
            .setServicePath("path/v2/")
            .build();

    assertEquals("http://www.googleapis.com/test/path/v2/", client.getBaseUrl());
  }