46474849505152535455
} public void testCreatorFrom() throws Exception { Creator creator = this.collaboratorService.creatorFrom( new Tenant("12345"), "zdoe"); assertNotNull(creator); }
55565758596061626364
} public void testModeratorFrom() throws Exception { Moderator moderator = this.collaboratorService.moderatorFrom( new Tenant("12345"), "zdoe"); assertNotNull(moderator); }
64656667686970717273
} public void testOwnerFrom() throws Exception { Owner owner = this.collaboratorService.ownerFrom( new Tenant("12345"), "zdoe"); assertNotNull(owner); }
73747576777879808182
} public void testParticipantFrom() throws Exception { Participant participant = this.collaboratorService.participantFrom( new Tenant("12345"), "zdoe"); assertNotNull(participant); }
90919293949596979899100
Calendar calendar = DomainRegistry .calendarRepository() .calendarOfId( new Tenant(tenantId), new CalendarId(calendarId)); assertNotNull(calendar); assertEquals(tenantId, calendar.tenant().id()); assertEquals(calendarId, calendar.calendarId().id());
5859606162636465666768
public void assignModeratorToForum( String aTenantId, String aForumId, String aModeratorId) { Tenant tenant = new Tenant(aTenantId); Forum forum = this.forumRepository() .forumOfId( tenant,
7980818283848586878889
public void changeForumDescription( String aTenantId, String aForumId, String aDescription) { Tenant tenant = new Tenant(aTenantId); Forum forum = this.forumRepository() .forumOfId( tenant,
979899100101102103104105106107
public void changeForumSubject( String aTenantId, String aForumId, String aSubject) { Tenant tenant = new Tenant(aTenantId); Forum forum = this.forumRepository() .forumOfId( tenant,
114115116117118119120121122123124
public void closeForum( String aTenantId, String aForumId) { Tenant tenant = new Tenant(aTenantId); Forum forum = this.forumRepository() .forumOfId( tenant,
131132133134135136137138139140141
public void reopenForum( String aTenantId, String aForumId) { Tenant tenant = new Tenant(aTenantId); Forum forum = this.forumRepository() .forumOfId( tenant,