@Test
public void getCoursesAccesibleForIdentity() {

    assertTrue(contextsOfSubscriber1.size() == 4);
    Map<Long, RepositoryEntry> contextIdToRepositoryEntryMap = notificationCourseAccessManager.getCoursesAccesibleForIdentity(contextsOfSubscriber1);
    assertEquals("only one course is accessible for this identity", 1, contextIdToRepositoryEntryMap.size());
}