@Test
public void testPathExists() {

  final JBBPNamedNumericFieldMap map = new JBBPNamedNumericFieldMap();
  final JBBPNumericField field = new JBBPFieldInt(new JBBPNamedFieldInfo("test.test", "test", 0), 123);
  map.putField(field);
  assertTrue(map.pathExists("tESt.teSt"));
  assertFalse(map.pathExists("test.test1"));
  assertFalse(map.pathExists("test"));
  try {
    map.pathExists(null);
    fail("Must throw NPE");
  } catch (NullPointerException ex) {
  }
}