HttpConfiguration configuration = new HttpConfiguration();
configuration.setUrl("http://invalid:port/");
HttpConnector connector = new HttpConnector(configuration);
connector.configure();
}
@Test(expectedExceptions=IllegalArgumentException.class)
public void shouldNotProcessIfUrlIsInvalid() throws Exception {
MockRequestHandler mockHandler = new MockRequestHandler(HttpStatus.SC_OK);