We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1dc669 commit acfb3faCopy full SHA for acfb3fa
test/src/com/rabbitmq/client/test/ValueOrExceptionTest.java
@@ -74,6 +74,10 @@ public void testClonesException() {
74
} catch(InsufficientMagicException returnedException) {
75
assertTrue(returnedException != exception);
76
assertEquals(returnedException.getMessage(), exception.getMessage());
77
+ boolean inGetValue = false;
78
+ for(StackTraceElement elt : returnedException.getStackTrace())
79
+ inGetValue |= "getValue".equals(elt.getMethodName());
80
+ assertTrue(inGetValue);
81
}
82
83
0 commit comments