@Test public void getUnknownTaskFromRepositoryAndLoadIntoView() { mTaskDetailPresenter = givenTaskDetailPresenter(INVALID_TASK_ID); mTaskDetailPresenter.start(); verify(mTaskDetailView).showMissingTask(); }
@Override public void start() { openTask(); }
TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void start() { openTask(); } }
TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void start() { openTask(); } TaskDetailPresenter(@NonNull UseCaseHandler useCaseHandler,
            @Nullable String taskId,
            @NonNull TaskDetailContract.View taskDetailView,
            @NonNull GetTask getTask,
            @NonNull CompleteTask completeTask,
            @NonNull ActivateTask activateTask,
            @NonNull DeleteTask deleteTask); }
TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void start() { openTask(); } TaskDetailPresenter(@NonNull UseCaseHandler useCaseHandler,
            @Nullable String taskId,
            @NonNull TaskDetailContract.View taskDetailView,
            @NonNull GetTask getTask,
            @NonNull CompleteTask completeTask,
            @NonNull ActivateTask activateTask,
            @NonNull DeleteTask deleteTask); @Override void start(); @Override void editTask(); @Override void deleteTask(); @Override void completeTask(); @Override void activateTask(); }
TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void start() { openTask(); } TaskDetailPresenter(@NonNull UseCaseHandler useCaseHandler,
            @Nullable String taskId,
            @NonNull TaskDetailContract.View taskDetailView,
            @NonNull GetTask getTask,
            @NonNull CompleteTask completeTask,
            @NonNull ActivateTask activateTask,
            @NonNull DeleteTask deleteTask); @Override void start(); @Override void editTask(); @Override void deleteTask(); @Override void completeTask(); @Override void activateTask();  }