use of com.yahoo.vespa.http.client.handlers.V3MockParsingRequestHandler in project vespa by vespa-engine.
the class V3HttpAPITest method requireThatBadResponseCodeFails.
@Test
public void requireThatBadResponseCodeFails() throws Exception {
testServerWithMock(new V3MockParsingRequestHandler(401), true, false);
testServerWithMock(new V3MockParsingRequestHandler(403), true, false);
testServerWithMock(new V3MockParsingRequestHandler(407), true, false);
}
Aggregations