@Test
public void testTransformWithMetadata(TestContext context) {

    JoltTransformer.transform(TRANSFORM_WITH_METADATA_INPUT_JSON, transformWithMetadataSpec).setHandler(transform -> {
        context.assertTrue(transform.succeeded());
        context.assertNotNull(transform.result());
        context.assertEquals(new JsonObject(TRANSFORM_WITH_METADATA_EXPECTED_OUTPUT_JSON), transform.result());
    });
}