@Test
public void testInvalidProxyOptionsSinceHostIsMissing() throws ValidationException {

    thrown.expect( ValidationException.class );
    thrown.expectMessage("Validation failed");
    String rules = "{\n" +
            "  \"/gateleen/rule/1\": {\n" +
            "    \"description\": \"Test rule 1\",\n" +
            "    \"proxyOptions\": {\n" +
            "      \"port\": 123\n" +
            "    }\n" +
            "  }\n" +
            "}";
    new RuleFactory(properties, routingRulesSchema).parseRules(Buffer.buffer(rules));
}