check foo.equals(bar);
check foo.equals(bar) throws
NullPointerException;
=>
try {
logCheck("foo.equals(bar)");
checkAssertion(foo.equals(bar));
} catch (Throwable t) {
unexpectedThrowFailure(t);
};
try {
logCheck("foo.equals(bar) throws
NullPointerException");
foo.equals(bar);
noThrowFailure();
} catch (NullPointerException
e) {
checkPassed();
} catch (Throwable t) {
incorrectThrowFailure(t);
};