public ErrorReceiver getMockErrorReceiver() {
        return mockErrorReceiver;
    }
@return The {@link ErrorReceiver} that is configured on the function
stroom-pipeline/src/test/java/stroom/pipeline/xsltfunctions/AbstractXsltFunctionTest.java