@Test public void testTwoKeys() throws CoreException { service.addAppendKey("key1"); service.addAppendKey("key3"); execute(service, msg); assertTrue("val1val3".equals(msg.getMetadataValue(resultKey))); }
public void addAppendKey(String string) { appendKeys.add(Args.notBlank(string, "key")); }
MetadataAppenderService extends MetadataServiceImpl { public void addAppendKey(String string) { appendKeys.add(Args.notBlank(string, "key")); } }
MetadataAppenderService extends MetadataServiceImpl { public void addAppendKey(String string) { appendKeys.add(Args.notBlank(string, "key")); } MetadataAppenderService(); }
MetadataAppenderService extends MetadataServiceImpl { public void addAppendKey(String string) { appendKeys.add(Args.notBlank(string, "key")); } MetadataAppenderService(); @Override void doService(AdaptrisMessage msg); List<String> getAppendKeys(); void setAppendKeys(List<String> l); void addAppendKey(String string); String getResultKey(); void setResultKey(String string); }
MetadataAppenderService extends MetadataServiceImpl { public void addAppendKey(String string) { appendKeys.add(Args.notBlank(string, "key")); } MetadataAppenderService(); @Override void doService(AdaptrisMessage msg); List<String> getAppendKeys(); void setAppendKeys(List<String> l); void addAppendKey(String string); String getResultKey(); void setResultKey(String string);  }