myUserModel.addUser(mySelf);
myUserModel.addUser(someone);
mySelf.setCanAccessMyFiles(true, myUserModel);
someone.setCanAccessMyFiles(true, myUserModel);
ProjectsData projectsData = someone.getProjectsData(myIdeFacade);
assertSame("No self status yet", ProjectsData.NULL, projectsData);
myIdeFacade.setReturnedProjects(new String[]{"project1"});
assert mySelf.isOnline();
ProjectsData status = mySelf.getProjectsData(myIdeFacade);
assertNotSame("Real status is expected", ProjectsData.NULL, status);
assertEquals("A project is expected in the status", 1, status.getProjects().length);
assertEquals("Wrong project returned", "project1", status.getProjects()[0]);
}