Uses of Class
org.apache.juneau.assertions.ThrowableAssertion
Packages that use ThrowableAssertion
-
Uses of ThrowableAssertion in org.apache.juneau.assertions
Methods in org.apache.juneau.assertions that return ThrowableAssertionModifier and TypeMethodDescriptionstatic final <T extends Throwable>
ThrowableAssertion<T>Assertions.assertThrowable
(T value) Performs an assertion on a Throwable.static final ThrowableAssertion<Throwable>
Assertions.assertThrown
(Snippet snippet) Executes an arbitrary snippet of code and captures anything thrown from it as a Throwable assertion.static <X extends Throwable>
ThrowableAssertion<X>ThrowableAssertion.create
(X value) Static creator.ThrowableAssertion.setOut
(PrintStream value) ThrowableAssertion.setSilent()
ThrowableAssertion.setStdOut()
ThrowableAssertion.setThrowable
(Class<? extends RuntimeException> value) -
Uses of ThrowableAssertion in org.apache.juneau.rest.logger
Methods in org.apache.juneau.rest.logger that return ThrowableAssertionModifier and TypeMethodDescriptionBasicTestCaptureCallLogger.assertThrown()
Returns the last logged message level.