Class ExpectedExceptionHandler
java.lang.Object
org.activiti.cloud.acc.shared.serenity.exception.ExpectedExceptionHandler
Expected exception handler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanAsk if an exception is expected.static booleanisThrowingExpectedException(ExpectedException expectedException, org.assertj.core.api.ThrowableAssert.ThrowingCallable throwingCallable) Ask if a call throws an expected exception.
-
Constructor Details
-
ExpectedExceptionHandler
public ExpectedExceptionHandler()
-
-
Method Details
-
isExpectingException
public static boolean isExpectingException()Ask if an exception is expected.- Returns:
- true if an exception is expected