@Test public void testMissingKey() throws Exception { MetadataReplacementSource source = new MetadataReplacementSource(); source.setValue("not-there"); String replaceWith = source.obtainValue(createMessage()); assertTrue(null == replaceWith); }
public String obtainValue(AdaptrisMessage msg) { return msg.getMetadataValue(this.getValue()); }
MetadataReplacementSource extends AbstractReplacementSource { public String obtainValue(AdaptrisMessage msg) { return msg.getMetadataValue(this.getValue()); } }
MetadataReplacementSource extends AbstractReplacementSource { public String obtainValue(AdaptrisMessage msg) { return msg.getMetadataValue(this.getValue()); } MetadataReplacementSource();  MetadataReplacementSource(String value); }
MetadataReplacementSource extends AbstractReplacementSource { public String obtainValue(AdaptrisMessage msg) { return msg.getMetadataValue(this.getValue()); } MetadataReplacementSource();  MetadataReplacementSource(String value); String obtainValue(AdaptrisMessage msg); }
MetadataReplacementSource extends AbstractReplacementSource { public String obtainValue(AdaptrisMessage msg) { return msg.getMetadataValue(this.getValue()); } MetadataReplacementSource();  MetadataReplacementSource(String value); String obtainValue(AdaptrisMessage msg);  }