@Test public void testCreateKeyValuePairSet() { assertNull(SimpleNamespaceContext.create(null)); assertNull(SimpleNamespaceContext.create(new KeyValuePairSet())); assertNotNull(SimpleNamespaceContext.create(createNamespaceEntries())); assertNotNull(SimpleNamespaceContext.create(createWithDefaultEntries())); }
public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); } }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  static NamespaceContext create(KeyValuePairSet set); static NamespaceContext create(KeyValuePairSet set, AdaptrisMessage msg); }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  static NamespaceContext create(KeyValuePairSet set); static NamespaceContext create(KeyValuePairSet set, AdaptrisMessage msg);  }