use of org.nhindirect.monitor.condition.impl.GeneralCompletionCondition in project nhin-d by DirectProject.
the class DSNMessageGenerator_generateDSNFailureMessageTest method createGenerator.
DSNMessageGenerator createGenerator() {
DSNGenerator dsnGenerator = new DSNGenerator("Not Delivered:");
TxCompletionCondition checker = new GeneralCompletionCondition();
DSNFailureTextBodyPartGenerator textGenerator = new DefaultDSNFailureTextBodyPartGenerator("", "", "", "", "", HumanReadableTextAssemblerFactory.getInstance());
return new DSNMessageGenerator(dsnGenerator, "postmaster", checker, "JUnitMTA", textGenerator);
}
Aggregations