@Override
      public boolean done() {
        Entry entry = r.getEntry(KEY);
        if (expected == null) {
          return !r.containsValueForKey(key); // success!
        } else {
          if (entry != null) {
            return expected.equals(entry.getValue());
          }
        }
        return false;
      }
Tests that the Matris defined in <code>ServerResponseMatrix</code> is applied or not

@since GemFire 5.1
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DurableResponseMatrixDUnitTest.java