Request request = api.updateProfile().name("DeWitt Clinton").email(
"dewitt@unto.net").url("http://unto.net/")
.location("San Francisco, CA").description("...").build();
assertEquals("http://twitter.com:80/account/update_profile.json", request
.toString());
assertHasParameter(request.toUrl(), "name", "DeWitt Clinton");
assertHasParameter(request.toUrl(), "email", "dewitt@unto.net");
assertHasParameter(request.toUrl(), "url", "http://unto.net/");
assertHasParameter(request.toUrl(), "location", "San Francisco, CA");
assertHasParameter(request.toUrl(), "description", "...");
}