@Test
    void testErrorCompressionInvalid() throws IOException, ServletException {
        request.addHeader("feed", "TEST-FEED");
        request.addHeader("effectiveTime", DateUtil.createNormalDateTimeString());
        request.addHeader("compression", "UNKNOWN");
        request.setInputStream("SOME TEST DATA".getBytes());

        receiveDataServlet.doPost(request, response);

        checkError(HttpServletResponse.SC_NOT_ACCEPTABLE, "Unknown compression");
        assertThat(store.getStreamStoreCount())
                .isEqualTo(0);
    }
The combination of mock and prod classes means this test needs its own
context.
stroom-app/src/test/java/stroom/receive/TestReceiveDataServlet.java