@Test public void testSetKeys() { MetadataDestination dest = new MetadataDestination(); List keys = new ArrayList(); keys.add("key1"); keys.add("key2"); dest.setKeys(keys); assertTrue(dest.getKeys().equals(keys)); try { dest.setKeys(null); fail(); } catch (IllegalArgumentException expected) { } }
public void setKeys(List<String> l) { keys = Args.notNull(l, "metadataKeys"); }
MetadataDestination implements MessageDrivenDestination { public void setKeys(List<String> l) { keys = Args.notNull(l, "metadataKeys"); } }
MetadataDestination implements MessageDrivenDestination { public void setKeys(List<String> l) { keys = Args.notNull(l, "metadataKeys"); } MetadataDestination(); }
MetadataDestination implements MessageDrivenDestination { public void setKeys(List<String> l) { keys = Args.notNull(l, "metadataKeys"); } MetadataDestination(); void addKey(String s); List<String> getKeys(); void setKeys(List<String> l); String getDestination(AdaptrisMessage msg); }
MetadataDestination implements MessageDrivenDestination { public void setKeys(List<String> l) { keys = Args.notNull(l, "metadataKeys"); } MetadataDestination(); void addKey(String s); List<String> getKeys(); void setKeys(List<String> l); String getDestination(AdaptrisMessage msg);  }