    @Test
    public void getTask_requestsSingleTaskFromLocalDataSource() {

        // Given a stub completed task with title and description in the local repository
        Task task = new Task(TASK_TITLE, "Some Task Description", true);
        setTaskAvailable(mTasksLocalDataSource, task);
        // And the task not available in the remote repository
        setTaskNotAvailable(mTasksRemoteDataSource, task.getId());

        // When a task is requested from the tasks repository
        TestSubscriber<Task> testSubscriber = new TestSubscriber<>();
        mTasksRepository.getTask(task.getId()).subscribe(testSubscriber);

        // Then the task is loaded from the database
        verify(mTasksLocalDataSource).getTask(eq(task.getId()));
        testSubscriber.assertValue(task);
    }