SwitchYardModel switchyardConfig = (SwitchYardModel) new ModelPuller()
.pull(swConfigStream);
TransformsModel transforms = switchyardConfig.getTransforms();
List<TransformModel> trans = transforms.getTransforms();
JSONTransformModel jsonTransformModel = (JSONTransformModel) trans
.get(0);
if (jsonTransformModel == null) {
Assert.fail("No json config.");
}