private void checkError(final int code, final String msg) {
        assertThat(response.getResponseCode())
                .isEqualTo(code);
        assertThat(response.getSendErrorMessage().contains(msg))
                .as("Expecting '" + msg + "' but was '" + response.getSendErrorMessage() + "'")
                .isTrue();
    }
The combination of mock and prod classes means this test needs its own
context.
stroom-app/src/test/java/stroom/receive/TestReceiveDataServlet.java