DynectClient { public ObjectNode get(String path) { Preconditions.checkArgument(path != null || path != "", "path can not be empty"); ObjectNode response = getRestTarget().path(path).header("Auth-Token", getToken()).addHeader("Content-Type", "application/json").get().execute(ObjectNode.class); return response; }  String getToken(); OkRestTarget getRestTarget(); ObjectNode get(String path);  }
@Test @Ignore public void test() { client = new DynectClient.DynBuilder().withProperties("Example", "mercator", "test").build(); client.get("Zone"); }