@Test
public void getCourseWithModules() {

    MutableLiveData<CourseWithModule> dummyEntity = new MutableLiveData<>();
    dummyEntity.setValue(DataDummy.generateDummyCourseWithModules(DataDummy.generateDummyCourses().get(0), false));
    when(local.getCourseWithModules(courseId)).thenReturn(dummyEntity);
    Resource<CourseWithModule> courseEntities = LiveDataTestUtil.getValue(academyRepository.getCourseWithModules(courseId));
    verify(local).getCourseWithModules(courseId);
    assertNotNull(courseEntities.data);
    assertNotNull(courseEntities.data.mCourse.getTitle());
    assertEquals(courseResponses.get(0).getTitle(), courseEntities.data.mCourse.getTitle());
}