}
public void testUsers() {
Client client = new Client(new Context(),adminUserLoc.getSchemeProtocol()) {
public void handle(Request request,Response response) {
request.setChallengeResponse(new ChallengeResponse(ChallengeScheme.HTTP_BASIC,"admin","admin"));
super.handle(request,response);
}
};
Response response = client.handle(makePost(adminUserLoc,new StringRepresentation("<user xmlns='http://www.atomojo.org/Vocabulary/Admin/2007/1/0' alias='testuser.1' password='mypassword.1'/>",MediaType.APPLICATION_XML)));