@ Override public void expect ( ) { try { webResult . setWebDriver ( getWebDriver ( ) ) ; webResult . expect ( ) ; fail ( "Result should fail but it did not." ) ; } catch ( Exception e ) { logger . debug ( "Negated failure:" , e ) ; } catch ( AssertionError e ) { logger . debug ( "Negated failure:" , e ) ; } }
Expects that the specified web result fails .