@Override
    public Optional<WALObserver> getWALObserver() {
      return Optional.of(this);
    }
Tests that added mutations from coprocessors end up in the WAL.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.java