question: 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 + ">" ) ) ; }
target:  Validates that a specified XML tag and value are present in the message.