@Test public void getUnknownTaskFromRepositoryAndLoadIntoView() { mTaskDetailPresenter = new TaskDetailPresenter( INVALID_TASK_ID, mTasksRepository, mTaskDetailView); 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(@Nullable String taskId,
                               @NonNull TasksRepository tasksRepository,
                               @NonNull TaskDetailContract.View taskDetailView); }
TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void start() { openTask(); } TaskDetailPresenter(@Nullable String taskId,
                               @NonNull TasksRepository tasksRepository,
                               @NonNull TaskDetailContract.View taskDetailView); @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(@Nullable String taskId,
                               @NonNull TasksRepository tasksRepository,
                               @NonNull TaskDetailContract.View taskDetailView); @Override void start(); @Override void editTask(); @Override void deleteTask(); @Override void completeTask(); @Override void activateTask();  }