private Server server;
public RepositoryRequestAsExpiredTest() throws Exception {
// just a dummy server doing 404 all the time
// it is the request we are interested in
this.record = new Record();
this.server =
Server.withPort(0).serve("/").withBehaviours(record, Behaviours.error(404, "don't bother yourself"));
server.start();
}