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

    Delegate delegate = delegateFactory.parseDelegate("someDelegate", Buffer.buffer(VALID_DELEGATE_RESOURCE));
    context.assertNotNull(delegate);
    context.assertEquals("someDelegate", delegate.getName());
}