| Modifier and Type | Method and Description |
|---|---|
WillThrowMatcher<T> |
WillThrowMatcher.and(Matcher<T> throwableMather) |
static <T extends Throwable> |
WillThrowMatcher.willThrow(Class<T> throwableClass)
Create a matcher for the throwable thrown by a runnable.
|
Copyright © 2022. All rights reserved.