@Test
public void getContent() {

    MutableLiveData<ModuleEntity> dummyEntity = new MutableLiveData<>();
    dummyEntity.setValue(DataDummy.generateDummyModuleWithContent(moduleId));
    when(local.getModuleWithContent(courseId)).thenReturn(dummyEntity);
    Resource<ModuleEntity> courseEntitiesContent = LiveDataTestUtil.getValue(academyRepository.getContent(courseId));
    verify(local).getModuleWithContent(courseId);
    assertNotNull(courseEntitiesContent);
    assertNotNull(courseEntitiesContent.data.contentEntity);
    assertNotNull(courseEntitiesContent.data.contentEntity.getContent());
    assertEquals(content.getContent(), courseEntitiesContent.data.contentEntity.getContent());
}