@Test
    public void shouldFailWithNoSettings() {
        HttpConnectorFactory factory = new HttpConnectorFactory(config);
        IApiConnector connector = factory.createConnector(request, api, RequiredAuthType.DEFAULT, false, new ConnectorConfigImpl());
        IApiConnection connection = connector.connect(request,
                new IAsyncResultHandler<IApiConnectionResponse>() {

         @Override
         public void handle(IAsyncResult<IApiConnectionResponse> result) {
                 Assert.assertTrue(result.isError());
                 System.out.println(result.getError());
             }
        });

        connection.end();
    }
Scenario:
  - No settings whatsoever.
  - Will fail, as defaults are relatively safe,
    and API certificate will not be recognised.
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/auth/tls/StandardTLSTest.java