@Test
public void testConstructorPrincipalAndUrl() {

    Principal principal = SimplePrincipal.create("user_domain", "user",
            "auth_creds", PRINCIPAL_AUTHORITY);
    ZTSClient client = new ZTSClient("http://localhost:4080/", principal);
    assertNotNull(client);
    assertNotNull(client.ztsClient);
    assertEquals(client.principal, principal);
    assertEquals(client.getZTSUrl(), "http://localhost:4080/zts/v1");
}