@Override
    protected RowLock getRowLockInternal(final byte[] row, boolean readLock,
      final RowLock prevRowlock) throws IOException {
      if (testStep == TestStep.CHECKANDPUT_STARTED) {
        latch.countDown();
      }
      return new WrappedRowLock(super.getRowLockInternal(row, readLock, null));
    }
Test written as a verifier for HBASE-7051, CheckAndPut should properly read MVCC. Moved into
TestAtomicOperation from its original location, TestHBase7051
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java