}
@Test(expected = IllegalStateException.class)
- @SuppressWarnings("checkstyle:illegalThrows")
+ @SuppressWarnings({ "checkstyle:illegalThrows", "checkstyle:avoidHidingCauseException" })
public void fromWithExceptionTest() throws Throwable {
try {
NotificationListenerInvoker.from(TestPrivateInterface.class);