private void validateXmlFieldPresent(String message,String xmlTagName,Object value){
  assertTrue(xmlTagName + " \"" + value+ "\" expected, but not found.",message.contains("<" + xmlTagName + ">"+ (value == null ? null : value.toString())+ "</"+ xmlTagName+ ">"));
}

private void validateXmlFieldPresent ( String message , String xmlTagName , Object value ) { assertTrue ( xmlTagName + " \"" + value + "\" expected, but not found." , message . contains ( "<" + xmlTagName + ">" + ( value == null ? null : value . toString ( ) ) + "</" + xmlTagName + ">" ) ) ; }
validates that a specified xml tag and value are present in the message .
