@Test
public void getSelectedModule() {

    MutableLiveData<ModuleEntity> module = new MutableLiveData<>();
    module.setValue(dummyModules.get(0));
    when(academyRepository.getContent(courseId, moduleId)).thenReturn(module);
    ModuleEntity moduleEntity = viewModel.getSelectedModule().getValue();
    verify(academyRepository).getContent(courseId, moduleId);
    assertNotNull(moduleEntity);
    ContentEntity contentEntity = moduleEntity.contentEntity;
    assertNotNull(contentEntity);
    String content = contentEntity.getContent();
    assertNotNull(content);
    assertEquals(content,  dummyModules.get(0).contentEntity.getContent());
    viewModel.getSelectedModule().observeForever(moduleObserver);
    verify(moduleObserver).onChanged(dummyModules.get(0));
}