@Test
public void testGetRegisteredResourceNotYetRegistered(TestContext context) {

    Async async = context.async();
    MockResourceStorage storage = new MockResourceStorage();
    configurationResourceManager = new ConfigurationResourceManager(vertx, storage);
    String resourceURI = "/gateleen/resources/person";
    // resource should not be in storage
    context.assertFalse(storage.getMockData().containsKey(resourceURI));
    configurationResourceManager.getRegisteredResource(resourceURI).setHandler(event -> {
        context.assertTrue(event.succeeded());
        context.assertFalse(event.result().isPresent());
        async.complete();
    });
}