@Test
public void getContent() {

    doAnswer(invocation -> {
        ((RemoteDataSource.LoadModulesCallback) invocation.getArguments()[1])
                .onAllModulesReceived(moduleResponses);
        return null;
    }).when(remote).getModules(eq(courseId), any(RemoteDataSource.LoadModulesCallback.class));
    doAnswer(invocation -> {
        ((RemoteDataSource.LoadContentCallback) invocation.getArguments()[1])
                .onContentReceived(content);
        return null;
    }).when(remote).getContent(eq(moduleId), any(RemoteDataSource.LoadContentCallback.class));
    ModuleEntity courseEntitiesContent = LiveDataTestUtil.getValue(academyRepository.getContent(courseId, moduleId));
    verify(remote)
            .getModules(eq(courseId), any(RemoteDataSource.LoadModulesCallback.class));
    verify(remote)
            .getContent(eq(moduleId), any(RemoteDataSource.LoadContentCallback.class));
    assertNotNull(courseEntitiesContent);
    assertNotNull(courseEntitiesContent.contentEntity);
    assertNotNull(courseEntitiesContent.contentEntity.getContent());
    assertEquals(content.getContent(), courseEntitiesContent.contentEntity.getContent());
}