/** * Only delegate to {@link Fail#fail(String, Throwable)} so that Assertions offers a full feature entry point to all Fest Assert * features (but you can use Fail if you prefer). */ public static void fail(String failureMessage, Throwable realCause) { Fail.fail(failureMessage, realCause); }
/** * Only delegate to {@link Fail#failBecauseExceptionWasNotThrown(Class)} so that Assertions offers a full feature entry point to * all Fest Assert features (but you can use Fail if you prefer). */ public static void failBecauseExceptionWasNotThrown(Class<? extends Exception> exceptionClass) { Fail.failBecauseExceptionWasNotThrown(exceptionClass); }
/** * Only delegate to {@link Fail#setRemoveFestRelatedElementsFromStackTrace(boolean)} so that Assertions offers a full feature * entry point to all Fest Assert features (but you can use {@link Fail} if you prefer). */ public static void setRemoveFestRelatedElementsFromStackTrace(boolean removeFestRelatedElementsFromStackTrace) { Fail.setRemoveFestRelatedElementsFromStackTrace(removeFestRelatedElementsFromStackTrace); }
/** * Only delegate to {@link Fail#fail(String)} so that Assertions offers a full feature entry point to all Fest Assert features * (but you can use Fail if you prefer). */ public static void fail(String failureMessage) { Fail.fail(failureMessage); }