233234235236237238239240241242
JCUser user = new JCUser("username", "email", "password"); Topic topic = new Topic(user, "Topic title"); topic.setId(topicId); Branch branch = new Branch("name", "description"); branch.setId(branchId); branch.addTopic(topic); return branch; } }