CharacterWrapperDeserializer extends PrimitiveDeserializer<Character> { public Character deserialize(String value) { return isBlank(value) ? null : value.charAt(0); }  Character deserialize(String value);  }
@Test public void shouldDeserializeToCharacter() throws Exception { assertEquals(Character.valueOf('1'), deserialize(toTest, "1")); }
@Test public void shouldDeserializeNullToNull() throws Exception { assertNull(deserialize(toTest, null)); }