public void cancel() {
            cancelled = true;
        }
{@link CapturedPunctuator} holds captured punctuators, along with their scheduling information.
streams/test-utils/src/main/java/org/apache/kafka/streams/processor/api/MockProcessorContext.java