assertEquals("https://twitter.com:443/statuses/public_timeline.json",
request.toString());
}
void assertHasParameter(Url url, String name, Object value) {
Parameter expected = Parameter.newBuilder().setName(name).setValue(
value.toString()).build();
for (Parameter actual : url.getParametersList()) {
if (actual.equals(expected)) {
return;
}