GraphViewStore { public int size() { return length - garbageQueue.size(); } GraphViewStore(GraphStore graphStore); GraphViewImpl createView(); GraphViewImpl createView(boolean nodes, boolean edges); GraphViewImpl createView(GraphView view); GraphViewImpl createView(GraphView view, boolean nodes, boolean edges); void destroyView(GraphView view); void setTimeInterval(GraphView view, Interval interval); boolean contains(GraphView view); int size(); Subgraph getGraph(GraphView view); DirectedSubgraph getDirectedGraph(GraphView view); UndirectedSubgraph getUndirectedGraph(GraphView view); GraphView getVisibleView(); void setVisibleView(GraphView view); GraphObserverImpl createGraphObserver(Graph graph, boolean withDiff); void destroyGraphObserver(GraphObserverImpl graphObserver); int deepHashCode(); boolean deepEquals(GraphViewStore obj);  }
@Test public void testEmptyStore() { GraphStore graphStore = new GraphStore(); GraphViewStore store = graphStore.viewStore; Assert.assertEquals(store.size(), 0); }