@Test public void testSetters() throws Exception { ValidateMetadataService service = new ValidateMetadataService(); try { service.addRequiredKey(""); fail(); } catch (IllegalArgumentException expected) { ; } try { service.addRequiredKey(null); fail(); } catch (IllegalArgumentException expected) { ; } }
public void addRequiredKey(String key) { requiredKeys.add(Args.notBlank(key, "requiredKey")); }
ValidateMetadataService extends ServiceImp { public void addRequiredKey(String key) { requiredKeys.add(Args.notBlank(key, "requiredKey")); } }
ValidateMetadataService extends ServiceImp { public void addRequiredKey(String key) { requiredKeys.add(Args.notBlank(key, "requiredKey")); } ValidateMetadataService();  ValidateMetadataService(List<String> list); }
ValidateMetadataService extends ServiceImp { public void addRequiredKey(String key) { requiredKeys.add(Args.notBlank(key, "requiredKey")); } ValidateMetadataService();  ValidateMetadataService(List<String> list); void doService(AdaptrisMessage msg); List<String> getRequiredKeys(); void setRequiredKeys(List<String> l); void addRequiredKey(String key); @Override void prepare(); }
ValidateMetadataService extends ServiceImp { public void addRequiredKey(String key) { requiredKeys.add(Args.notBlank(key, "requiredKey")); } ValidateMetadataService();  ValidateMetadataService(List<String> list); void doService(AdaptrisMessage msg); List<String> getRequiredKeys(); void setRequiredKeys(List<String> l); void addRequiredKey(String key); @Override void prepare();  }