@Test
public void getCourseWithModules() {

    when(remote.getAllCourses()).thenReturn(courseResponses);
    CourseEntity resultCourse = academyRepository.getCourseWithModules(courseId);
    verify(remote).getAllCourses();
    assertNotNull(resultCourse);
    assertEquals(courseResponses.get(0).getTitle(), resultCourse.getTitle());
}