    @Test(expected = RuntimeException.class)
    public void throwsExceptionWHenHttpClientMissing() {

        KeyResolver tester = new KeyResolverImpl(null, "https://key-server.example.com", null);

        tester.getKeyString("/key-to-look-up");
    }