@Test public void testSetNetworkViews() { CyNetworkView nv1 = mock(CyNetworkView.class); CyNetworkView nv2 = mock(CyNetworkView.class); Set<CyNetworkView> vs = new HashSet<CyNetworkView>(); vs.add( nv1 ); vs.add( nv2 ); session = new CySession.Builder().networkViews( vs ).build(); assertNotNull(session); assertNotNull(session.getNetworkViews()); assertEquals(2,session.getNetworkViews().size()); assertTrue(session.getNetworkViews().contains( nv1 )); assertTrue(session.getNetworkViews().contains( nv2 )); }
public Set<CyNetworkView> getNetworkViews() { return netViews; }
CySession { public Set<CyNetworkView> getNetworkViews() { return netViews; } }
CySession { public Set<CyNetworkView> getNetworkViews() { return netViews; } private  CySession(Builder b); }
CySession { public Set<CyNetworkView> getNetworkViews() { return netViews; } private  CySession(Builder b); Set<CyNetwork> getNetworks(); Set<CyNetworkView> getNetworkViews(); Set<CyTableMetadata> getTables(); Map<CyNetworkView, String> getViewVisualStyleMap(); Set<CyProperty<?>> getProperties(); Set<VisualStyle> getVisualStyles(); Map<String, List<File>> getAppFileListMap(); T getObject(Long oldSUID, Class<T> type); T getObject(String oldId, Class<T> type); }
CySession { public Set<CyNetworkView> getNetworkViews() { return netViews; } private  CySession(Builder b); Set<CyNetwork> getNetworks(); Set<CyNetworkView> getNetworkViews(); Set<CyTableMetadata> getTables(); Map<CyNetworkView, String> getViewVisualStyleMap(); Set<CyProperty<?>> getProperties(); Set<VisualStyle> getVisualStyles(); Map<String, List<File>> getAppFileListMap(); T getObject(Long oldSUID, Class<T> type); T getObject(String oldId, Class<T> type);  }