atLeast(1).of(admin).countRequestsMatching(with(any(RequestPattern.class))); will(returnValue(VerificationResult.withCount(2)));
never(mappingsFileSource).writeTextFile(with(any(String.class)), with(any(String.class)));
never(filesFileSource).writeTextFile(with(any(String.class)), with(any(String.class)));
}});
listener.requestReceived(new MockRequestBuilder(context)
.withMethod(RequestMethod.GET)
.withUrl("/headered/content")
.build(),
response().status(200).build());
}