@Test void treeWithASingleStep() { SearchTree searchTree = givenSearchTreeWithSingleStep(); ObjectTreeNode<ObjectReference> objectTree = searchTree.getResults(); thenHasNodes(objectTree, "Use Case 1", "Scenario 1", "Page 1/3/2"); }
public ObjectTreeNode<ObjectReference> getResults() { return results; }
SearchTree { public ObjectTreeNode<ObjectReference> getResults() { return results; } }
SearchTree { public ObjectTreeNode<ObjectReference> getResults() { return results; } SearchTree(SearchResults searchResults, SearchRequest searchRequest); }
SearchTree { public ObjectTreeNode<ObjectReference> getResults() { return results; } SearchTree(SearchResults searchResults, SearchRequest searchRequest); static SearchTree empty(); ObjectTreeNode<ObjectReference> getResults(); long getHits(); long getTotalHits(); SearchRequest getSearchRequest(); }
SearchTree { public ObjectTreeNode<ObjectReference> getResults() { return results; } SearchTree(SearchResults searchResults, SearchRequest searchRequest); static SearchTree empty(); ObjectTreeNode<ObjectReference> getResults(); long getHits(); long getTotalHits(); SearchRequest getSearchRequest();  }