@Test
public void returnsNotConfiguredResponseForUnmappedRequest() {
Request request = aRequest(context).withMethod(OPTIONS).withUrl("/not/mapped").build();
ResponseDefinition response = mappings.serveFor(request);
assertThat(response.getStatus(), is(HTTP_NOT_FOUND));
assertThat(response.wasConfigured(), is(false));
}
@Test
public void returnsMostRecentlyInsertedResponseIfTwoOrMoreMatch() {
mappings.addMapping(new StubMapping(