use of com.adaptris.interlok.junit.scaffolding.ExampleServiceConfig in project interlok by adaptris.
the class ExampleServiceCase method createExampleXml.
@Override
protected String createExampleXml(Object object) throws Exception {
String result = getExampleCommentHeader(object);
Service service = (Service) object;
if (service.getUniqueId() == null || "".equals(service.getUniqueId())) {
service.setUniqueId("unique-id");
}
ExampleServiceConfig config = new ExampleServiceConfig();
config.addService(service);
result = result + configMarshaller.marshal(config);
return result;
}
Aggregations