@Test public void studentShouldBeAbleToQueryPublishedTemplatesFromAllGroups() throws Exception { users.loginAsStudent(); whenQueriesAllGroupsForPublishedTemplatesAsStudent(); thenFollowingPublishedTemplatesAreRead(templateIds); }
@Test public void studentShouldBeAbleToQueryPublishedTemplatesByGroupName() throws Exception { users.loginAsStudent(); whenQueriesPublishedTemplatesAsStudentWithKeyword("up2"); thenFollowingPublishedTemplatesAreRead(templateIds[2]); }
@Test public void studentShouldBeAbleToQueryPublishedTemplatesFromMultipleGroups() throws Exception { users.loginAsStudent(); whenQueriesFollowingGroupsForPublishedTemplatesAsStudent(groupIds[1], groupIds[2]); thenFollowingPublishedTemplatesAreRead(templateIds[1], templateIds[2]); }