@Test
public void writeMultipleValidators() {

	final CustomValidationConfiguration cvc = new CustomValidationConfiguration();
	final MessageValidatorConfiguration validator = new MessageValidatorConfiguration();
	validator.setId("validator-1");
	validator.setFactory("org.holodeckb2b.test.NotReal");
	cvc.addValidator(validator);
	final MessageValidatorConfiguration validator2 = new MessageValidatorConfiguration();
	validator2.setId("validator-2");
	validator2.setFactory("org.holodeckb2b.test.AlwaysGood");
	cvc.addValidator(validator2);
	
	final String xml = createXML(cvc);
	
	assertFalse(Utils.isNullOrEmpty(xml));
	assertTrue(countElements(xml, "Validator") == 2);		
}