@Test
public void shouldWork() throws Exception {

    whenHttp(server).match(
            get("/w/api.php"),
            parameter("titles", "Title 1|Title 2")
    ).then(resourceContent("revisions.json"));
    String entryPoint = "http://localhost:" + server.getPort();
    PageRevision revision = new WikiClient(entryPoint).getMostRecentRevision("Title 1", "Title 2");
    assertThat(revision.name, is("Title 2"));
}