### Question:
KettleObjectMapper { public String writeValueAsString( Object obj ) throws JsonProcessingException { return mapper.writeValueAsString( obj ); } KettleObjectMapper( List<StdSerializer> serializers, List<StdDeserializer> deserializers ); T readValue( String json, Class<T> clazz ); String writeValueAsString( Object obj );  }### Answer:
@Test public void testWriteValueAsString() throws Exception { StdSerializer serializer = new TransMetaJsonSerializer( TransMeta.class ); serializers.add( serializer ); mapper = new KettleObjectMapper( serializers, null ); mapper.writeValueAsString( new TransMeta() ); }