@Test
public void transform() throws Exception {

  final Map<String, Integer> businessData = new HashMap<>();
  businessData.put("foo", 1);
  businessData.put("bar", null);
  final BusinessData data = new BusinessData(businessData);
  Map<String, Object> variables = data.toVariables();
  assertThat(variables.get("foo")).isEqualTo(1);
  assertThat(variables.get("bar")).isNull();
}