Modifier and Type | Method and Description |
---|---|
ExpectedFailure<T> |
ExpectedFailure.when(ExpectedFailure.Failable action)
Throws an AssertionError if the expected Throwable is not thrown by the given action.
|
ExpectedFailure<T> |
ExpectedFailure.when(ExpectedFailure.Failable action,
Function<Throwable,Throwable> failureMapper)
Throws an AssertionError if the expected Throwable is not thrown by the given action.
|
Copyright © 2022 The Cornutum Project. All rights reserved.