public static void assertNoException(Runnable expression,String errorMessage){
  if (verbose) {
    log("assertNoException(" + expression + ", "+ errorMessage+ ")");
  }
  try {
    expression.run();
  }
 catch (  RuntimeException failure) {
    TestUtils.fail(errorMessage);
  }
}

public static void assertNoException ( Runnable expression , String errorMessage ) { if ( verbose ) { log ( "assertNoException(" + expression + ", " + errorMessage + ")" ) ; } try { expression . run ( ) ; } catch ( RuntimeException failure ) { TestUtils . fail ( errorMessage ) ; } }
asserts that no exception is raised
