public interface ThrowingRunnable
TestUtils.assertThrows(Class, ThrowingRunnable). It allows method
references to void methods (that declare checked exceptions) to be passed directly into
assertThrows
without wrapping. It is not meant to be implemented directly.| Modifier and Type | Method and Description |
|---|---|
void |
run()
Run something potentially throwing a throwable.
|
Copyright © 2022. All rights reserved.