public int getThrowExceptionCount() {
      return throwExceptionCount;
    }
This test is for HBASE-27778, when {@link WALEntryFilter#filter} throws exception for some
entries in {@link WALEntryBatch},{@link ReplicationSourceWALReader#totalBufferUsed} should be
decreased because {@link WALEntryBatch} is not put to
{@link ReplicationSourceWALReader#entryBatchQueue}.
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestBasicWALEntryStream.java