Andreas Schaefer created SLING-11486:
----------------------------------------
Summary: Allow to use a Writer that check for close as used in
Response Context Support
Key: SLING-11486
URL: https://issues.apache.org/jira/browse/SLING-11486
Project: Sling
Issue Type: Improvement
Components: Testing
Affects Versions: Servlet Helpers 1.4.2
Reporter: Andreas Schaefer
Assignee: Andreas Schaefer
Fix For: Servlet Helpers 1.4.4
A problem with testing GraphQL is that the Unit test does not fail when the
Writer was closed during the invocation. So the Mock Servlet Http Response
should provide a Writer that checks if the writer was already closed to mimic
the actual behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)