public void getAllowsUrlObjects() {
driver.addExpectation(
onRequestTo("/").withParam("a", "b"),
giveResponse("yooo", "text/plain").withStatus(404));
Url url = url(baseUrl).withParam("a", "b");
Response response = get(url);
assertThat(response, hasStatusCode(404));
}