In a testing scenario, a common issue arises when using mocking frameworks like Mockito to mock Spring Filters/Interceptors. If the filter.proceed()
method isn't invoked or returns null
, the subsequent web response logic isn't executed, resulting in an empty response body.