@Test public void testGetObjectMetadataKeys() { FormattedMetadataDestination dest = new FormattedMetadataDestination(); dest.addObjectMetadataKey("key1"); dest.addObjectMetadataKey("key2"); List<String> keys = new ArrayList<>(); keys.add("key1"); keys.add("key2"); assertTrue(dest.getObjectMetadataKeys().equals(keys)); }
public List<String> getObjectMetadataKeys() { return objectMetadataKeys; }
FormattedMetadataDestination implements MessageDrivenDestination { public List<String> getObjectMetadataKeys() { return objectMetadataKeys; } }
FormattedMetadataDestination implements MessageDrivenDestination { public List<String> getObjectMetadataKeys() { return objectMetadataKeys; } FormattedMetadataDestination(); }
FormattedMetadataDestination implements MessageDrivenDestination { public List<String> getObjectMetadataKeys() { return objectMetadataKeys; } FormattedMetadataDestination(); void addMetadataKey(String s); List<String> getMetadataKeys(); ElementFormatter getElementFormatter(); void setElementFormatter(ElementFormatter elementFormatter); void setMetadataKeys(List<String> l); void addObjectMetadataKey(String s); List<String> getObjectMetadataKeys(); void setObjectMetadataKeys(List<String> l); @Override String getDestination(AdaptrisMessage msg); String getDestinationTemplate(); void setDestinationTemplate(String s); }
FormattedMetadataDestination implements MessageDrivenDestination { public List<String> getObjectMetadataKeys() { return objectMetadataKeys; } FormattedMetadataDestination(); void addMetadataKey(String s); List<String> getMetadataKeys(); ElementFormatter getElementFormatter(); void setElementFormatter(ElementFormatter elementFormatter); void setMetadataKeys(List<String> l); void addObjectMetadataKey(String s); List<String> getObjectMetadataKeys(); void setObjectMetadataKeys(List<String> l); @Override String getDestination(AdaptrisMessage msg); String getDestinationTemplate(); void setDestinationTemplate(String s);  }