@Override
    public Set<TopicPartition> inputPartitions() {
        return task.inputPartitions();
    }
@Test
    public void shouldDelegateInputPartitions() {
        final ReadOnlyTask readOnlyTask = new ReadOnlyTask(task);

        readOnlyTask.inputPartitions();

        verify(task).inputPartitions();
    }