@Test
public void testPolymorphicJacksonSerializationAndDeserialization()
{
ObjectMapper mapper = new ObjectMapper();
SimpleModule testModule = new SimpleModule("testModule", new Version(1, 0, 0, null, null, null))
.addDeserializer( QueryFilter.class, new QueryFilterDeserializer() )
.addSerializer( LogicalFilter2.class, new LogicalFilter2Serializer() );
mapper.registerModule(testModule);
// Verifying that we can pass in a custom Mapper and create a new JsonUtil
JsonUtil jsonUtil = JsonUtils.customJsonUtil( mapper );
String testFixture = "/jsonUtils/testdomain/two/queryFilter-realAndLogical2.json";