@Test
public void testRemoveField() {

    final Message message = new Message();
    message.setField(new StringField(12, "value"));
    assertTrue(message.isSetField(12));
    message.removeField(12);
    assertTrue(!message.isSetField(12));
}