Transformation { public static @Nullable String transform(String type, String function, String value) { Logger logger = LoggerFactory.getLogger(Transformation.class); String result; try { result = trans(type, function, value); } catch (TransformationException e) { logger.debug("Error executing the transformation '{}': {}", type, e.getMessage()); result = value; } return result; }  static @Nullable String transform(String type, String function, String value); static @Nullable String transformRaw(String type, String function, String value);  }
@Test public void testTransform() { String result = Transformation.transform("UnknownTransformation", "function", "test"); assertEquals("test", result); }