@Test
public void testValidTranslateStatus(TestContext context) throws ValidationException {

    String validRule = "{\n" +
            "  \"/gateleen/rule/1\": {\n" +
            "    \"description\": \"Test rule 1\",\n" +
            "    \"translateStatus\": {\n" +
            "      \"400\": 200\n" +
            "    }\n" +
            "  }\n" +
            "}";
    List<Rule> rules =  new RuleFactory(properties, routingRulesSchema).parseRules(Buffer.buffer(validRule));
    context.assertTrue(rules.size() == 1);
    Map<Pattern, Integer> translateStatus = rules.get(0).getTranslateStatus();
    context.assertEquals(1, translateStatus.size());
    for (Integer value : translateStatus.values()) {
        context.assertEquals(200, value);
    }
}