@Test public void testAddKey() { MetadataDestination dest = new MetadataDestination(); dest.addKey("key1"); dest.addKey("key2"); dest.addKey("key3"); assertTrue(dest.getKeys().contains("key3")); }
public void addKey(String s) { keys.add(s); }
MetadataDestination implements MessageDrivenDestination { public void addKey(String s) { keys.add(s); } }
MetadataDestination implements MessageDrivenDestination { public void addKey(String s) { keys.add(s); } MetadataDestination(); }
MetadataDestination implements MessageDrivenDestination { public void addKey(String s) { keys.add(s); } MetadataDestination(); void addKey(String s); List<String> getKeys(); void setKeys(List<String> l); String getDestination(AdaptrisMessage msg); }
MetadataDestination implements MessageDrivenDestination { public void addKey(String s) { keys.add(s); } MetadataDestination(); void addKey(String s); List<String> getKeys(); void setKeys(List<String> l); String getDestination(AdaptrisMessage msg);  }