use of org.cytoscape.task.internal.setcurrent.SetCurrentNetworkTaskFactoryImpl in project cytoscape-impl by cytoscape.
the class SetCurrentNetworkTaskFactoryImplTest method testRun.
@Test
public void testRun() throws Exception {
CyApplicationManager appMgr = mock(CyApplicationManager.class);
CyNetworkManager netmgr = mock(CyNetworkManager.class);
;
SetCurrentNetworkTaskFactoryImpl factory = new SetCurrentNetworkTaskFactoryImpl(appMgr, netmgr);
TaskIterator ti = factory.createTaskIterator();
assertNotNull(ti);
assertTrue(ti.hasNext());
Task t = ti.next();
assertNotNull(t);
}
Aggregations