### Question:
ProblemReportingIterator implements InterruptibleIterator { @Override public void setInterruptFlag(AtomicBoolean flag) { ((InterruptibleIterator) source).setInterruptFlag(flag); } ProblemReportingIterator(ServerContext context, TableId tableId, String resource,
      boolean continueOnError, SortedKeyValueIterator<Key,Value> source); @Override SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env); @Override Key getTopKey(); @Override Value getTopValue(); @Override boolean hasTop(); @Override void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options,
      IteratorEnvironment env); @Override void next(); @Override void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive); boolean sawError(); String getResource(); @Override void setInterruptFlag(AtomicBoolean flag);  }### Answer:
@Test public void testSetInterruptFlag() { AtomicBoolean flag = new AtomicBoolean(true); ii.setInterruptFlag(flag); replay(ii); pri.setInterruptFlag(flag); verify(ii); }