@Override
        public void setReader(final Reader reader) throws IOException {
            this.reader = reader;
        }
@return The number of times chr appears in str.
stroom-pipeline/src/test/java/stroom/pipeline/reader/TestInvalidXMLCharFilterReaderElement.java