@Test public void check_If_Response_Is_Equal_To_Empty_If_TagList_Is_Empty() { AllTagsResponder tagResponder = new AllTagsResponder(); TestWikiPageDummy testWikiPageDummy = new TestWikiPageDummy("dummyPage", "", new WikiPageDummy(), new WikiPageProperty()); WikiSourcePage testWikiSourcePage = new WikiSourcePage(testWikiPageDummy); Set<String> receivedValue = tagResponder.getPageTags(testWikiSourcePage); assertThat(receivedValue).isEmpty(); }
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();  }