@Test public void check_If_Response_Is_Equal_To_Expected_List_With_One_Page() { AllTagsResponder tagResponder = new AllTagsResponder(); WikiPageProperty testTagProperty = new WikiPageProperty(); testTagProperty.set("Suites", "testTag"); TestWikiPageDummy testWikiPageDummy = new TestWikiPageDummy("dummyPage", "", new WikiPageDummy(), testTagProperty); WikiSourcePage testWikiSourcePage = new WikiSourcePage(testWikiPageDummy); Set<String> receivedValue = tagResponder.getPageTags(testWikiSourcePage); assertThat(receivedValue).isEqualTo(new HashSet<>(Collections.singletonList("testTag"))); }
public Set<String> getPageTags(SourcePage page){ return getPageTagsHelper(page, new HashSet<>()); }
AllTagsResponder implements SecureResponder { public Set<String> getPageTags(SourcePage page){ return getPageTagsHelper(page, new HashSet<>()); } }
AllTagsResponder implements SecureResponder { public Set<String> getPageTags(SourcePage page){ return getPageTagsHelper(page, new HashSet<>()); }  }
AllTagsResponder implements SecureResponder { public Set<String> getPageTags(SourcePage page){ return getPageTagsHelper(page, new HashSet<>()); }  @Override Response makeResponse(FitNesseContext fitNesseContext, Request request); SimpleResponse makeTagResponse(SourcePage sourcePage); Set<String> getPageTags(SourcePage page); @Override SecureOperation getSecureOperation(); }
AllTagsResponder implements SecureResponder { public Set<String> getPageTags(SourcePage page){ return getPageTagsHelper(page, new HashSet<>()); }  @Override Response makeResponse(FitNesseContext fitNesseContext, Request request); SimpleResponse makeTagResponse(SourcePage sourcePage); Set<String> getPageTags(SourcePage page); @Override SecureOperation getSecureOperation();  }