// Input test:
public void testWithScalar118() throws Exception
{
        ObjectMapper mapper = new ObjectMapper();
        String json;

        ExternalTypeWithNonPOJO input = new ExternalTypeWithNonPOJO(new java.util.Date(123L));
        json = mapper.writeValueAsString(input);
        System.out.println("JSON with Date: "+json);
        // and back just to be sure:
        ExternalTypeWithNonPOJO result = mapper.readValue(json, ExternalTypeWithNonPOJO.class);
        
}
// Assertions:
assertNotNull(json);
assertNotNull(result.value);
assertTrue(result.value instanceof java.util.Date);


// Input test:
public void testWithNaturalScalar118() throws Exception
{
        ExternalTypeWithNonPOJO input = new ExternalTypeWithNonPOJO(Integer.valueOf(13));
        String json = MAPPER.writeValueAsString(input);
        // and back just to be sure:
        ExternalTypeWithNonPOJO result = MAPPER.readValue(json, ExternalTypeWithNonPOJO.class);
}
// Assertions: