@Test
public void testGetRulesWithWrongRulesPath(TestContext context){

    RuleProvider ruleProvider = new RuleProvider(vertx, "/some/wrong/path", storage, properties);
    Future<List<Rule>> rulesFuture = ruleProvider.getRules();
    context.assertTrue(rulesFuture.failed(), "getRules() future should not have been successful");
    context.assertNotNull(rulesFuture.cause());
    context.assertTrue(rulesFuture.cause().getMessage().contains("Could not get URL"));
}