assertion.setAllowWildcards( true );
assertion.setExpectedContent( readResource( "/testFragmentWithCommentAndWildcard.xml" ) );
try
{
assertion.assertContent( testResponse, new WsdlSubmitContext( null ), "" );
assertFalse( "Assertion should have failed", true );
}
catch( AssertionException e )
{
}
assertion.setIgnoreComments( true );
assertNotNull( assertion.assertContent( testResponse, new WsdlSubmitContext( null ), "" ) );
}