assertEquals(resultOfGetTopics, actualCountOfPosts);
}
@Test
public void testMarkAllReadToUserInTwoBranches() {
JCUser user = PersistedObjectsFactory.getDefaultUser();
List<Topic> topicsOfFirstBranch = PersistedObjectsFactory.createAndSaveTopicListWithPosts(10);
List<Topic> topicsOfSecondBranch = PersistedObjectsFactory.createAndSaveTopicListWithPosts(10);
//records of posts in topics
Map<Long, DateTime> listCountPostsToTopicsInFBranch = new HashMap<Long, DateTime>();
Map<Long, DateTime> listCountPostsToTopicsInSBranch = new HashMap<Long, DateTime>();