@Test
public void testMissingLeadingSlashForPathProperty() throws ValidationException {

    thrown.expect( ValidationException.class );
    thrown.expectMessage("Illegal value for 'path', it must be a path starting with slash");
    String rules = "{" +
            " \"/gateleen/rule/1\": {" +
            "  \"description\": \"Test Rule 1\"," +
            "  \"path\": \"${gateleen.test.prop.1}/gateleen/rule/1\"," +
            "  \"storage\": \"main\"" +
            " }" +
            "}";
    properties.put("gateleen.test.prop.1", "http://someserver1/");
    new RuleFactory(properties, routingRulesSchema).parseRules(Buffer.buffer(rules));
}