@Test public void testSetAppFileListMap() { File f1 = new File("f1"); File f2 = new File("f2"); List<File> l1 = new ArrayList<File>(); l1.add(f1); l1.add(f2); File f3 = new File("f3"); File f4 = new File("f4"); List<File> l2 = new ArrayList<File>(); l1.add(f3); l1.add(f4); Map<String,List<File>> pflm = new HashMap<String,List<File>>(); pflm.put("app1",l1); pflm.put("app2",l2); session = new CySession.Builder().appFileListMap(pflm).build(); assertNotNull(session); assertNotNull(session.getAppFileListMap()); assertEquals(2,session.getAppFileListMap().size()); assertEquals(l1,session.getAppFileListMap().get("app1")); assertEquals(l2,session.getAppFileListMap().get("app2")); }
public Map<String, List<File>> getAppFileListMap() { return appFiles; }
CySession { public Map<String, List<File>> getAppFileListMap() { return appFiles; } }
CySession { public Map<String, List<File>> getAppFileListMap() { return appFiles; } private  CySession(Builder b); }
CySession { public Map<String, List<File>> getAppFileListMap() { return appFiles; } 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 Map<String, List<File>> getAppFileListMap() { return appFiles; } 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);  }