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

    Map<PatternHolder, Set<String>> result = aclFactory.parseAcl(Buffer.buffer(VALID_ACL_RESOURCE));
    context.assertNotNull(result);
    context.assertEquals(1, result.size());
    Collection<Set<String>> values = result.values();
    for (Set<String> value : values) {
        context.assertTrue(value.containsAll(Arrays.asList("POST", "GET", "DELETE")));
        context.assertFalse(value.contains("PUT"));
    }
}