@Test
public void setClientUserAgent() {

    String clientUserAgent = "foobar";
    ClientRuntime.setClientUserAgent(clientUserAgent);
    String userAgent = ClientRuntime.getRuntime().getUserAgent();
    assertTrue(userAgent.contains(clientUserAgent));
}