@Test
public void testAsJsonString() {

  final Foo f = new Foo();
  // All properties
  final String json_all = JacksonUtil.asJsonString(f);
  assertEquals("{\"bar\":\"bar\",\"test\":\"test\"}", json_all);
}