@Test
public void testCharField() {

    CharField field = new CharField(11);
    field.setValue('x');
    assertEquals(11, field.getTag());
    assertEquals('x', field.getValue());
    field.setValue(Character.valueOf('X'));
    assertEquals(11, field.getTag());
    assertEquals('X', field.getValue());
    field = new CharField(22, 'a');
    assertEquals(22, field.getTag());
    assertEquals('a', field.getValue());
    field = new CharField(33, Character.valueOf('A'));
    assertEquals(33, field.getTag());
    assertEquals('A', field.getValue());
}