@Test
public void testClear() {

  final JBBPNamedNumericFieldMap map = new JBBPNamedNumericFieldMap();
  map.clear();
  assertTrue(map.isEmpty());
  map.putField(new JBBPFieldInt(new JBBPNamedFieldInfo("test.test", "test", 0), 123));
  assertFalse(map.isEmpty());
  map.clear();
  assertTrue(map.isEmpty());
}