ProcessorTasklet implements Tasklet { @Override public boolean isCooperative() { return processor.isCooperative(); } @SuppressWarnings("checkstyle:ExecutableStatementCount")  ProcessorTasklet(
            @Nonnull Context context,
            @Nonnull ExecutorService executionService,
            @Nonnull SerializationService serializationService,
            @Nonnull Processor processor,
            @Nonnull List<? extends InboundEdgeStream> instreams,
            @Nonnull List<? extends OutboundEdgeStream> outstreams,
            @Nonnull SnapshotContext ssContext,
            @Nonnull OutboundCollector ssCollector,
            boolean isSource
    ); @Override void init(); @Override @Nonnull ProgressState call(); @Override MetricsContext getMetricsContext(); @Override String toString(); @Override boolean isCooperative(); @Override void close(); @Override void provideDynamicMetrics(MetricDescriptor descriptor, MetricsCollectionContext context);  }
@Test public void when_isCooperative_then_true() { assertTrue(createTasklet().isCooperative()); }