1 parent a79a35d commit 508198dCopy full SHA for 508198d
1 file changed
src/test/java/com/retailsvc/http/internal/DispatchHandlerTest.java
@@ -152,5 +152,8 @@ void interceptorCanCatchDecoratorFailure() throws Exception {
152
});
153
154
assertThat(caught.get()).isTrue();
155
+ Response rendered = (Response) ex.getAttribute(DispatchHandler.RESPONSE_ATTR);
156
+ assertThat(rendered).isNotNull();
157
+ assertThat(rendered.status()).isEqualTo(HTTP_INTERNAL_ERROR);
158
}
159
0 commit comments