@Override
    public boolean needsInitializationOrRestoration() {
        return task.needsInitializationOrRestoration();
    }
@Test
    public void shouldDelegateNeedsInitializationOrRestoration() {
        final ReadOnlyTask readOnlyTask = new ReadOnlyTask(task);

        readOnlyTask.needsInitializationOrRestoration();

        verify(task).needsInitializationOrRestoration();
    }