@Test
public void testJsonMarshalling() {

	// given
	JacksonJsonObjectMarshaller<Foo> jsonObjectMarshaller = new JacksonJsonObjectMarshaller<>();
	// when
	String foo = jsonObjectMarshaller.marshal(new Foo(1, "foo"));
	// then
	Assert.assertEquals("{\"id\":1,\"name\":\"foo\"}", foo);
}