@Test public void testGoodGetNetwork() { CyApplicationManager source = mock(CyApplicationManager.class); CyNetwork n = mock(CyNetwork.class); SetCurrentNetworkEvent e = new SetCurrentNetworkEvent(source,n); assertNotNull( e.getNetwork() ); assertEquals( n,e.getNetwork() ); }
public final CyNetwork getNetwork() { return net; }
SetCurrentNetworkEvent extends AbstractCyEvent<CyApplicationManager> { public final CyNetwork getNetwork() { return net; } }
SetCurrentNetworkEvent extends AbstractCyEvent<CyApplicationManager> { public final CyNetwork getNetwork() { return net; } SetCurrentNetworkEvent(final CyApplicationManager source, final CyNetwork net); }
SetCurrentNetworkEvent extends AbstractCyEvent<CyApplicationManager> { public final CyNetwork getNetwork() { return net; } SetCurrentNetworkEvent(final CyApplicationManager source, final CyNetwork net); final CyNetwork getNetwork(); Collection<CyNode> getSelectedNodes(); Collection<CyNode> getUnselectedNodes(); Collection<CyEdge> getSelectedEdges(); Collection<CyEdge> getUnselectedEdges(); }
SetCurrentNetworkEvent extends AbstractCyEvent<CyApplicationManager> { public final CyNetwork getNetwork() { return net; } SetCurrentNetworkEvent(final CyApplicationManager source, final CyNetwork net); final CyNetwork getNetwork(); Collection<CyNode> getSelectedNodes(); Collection<CyNode> getUnselectedNodes(); Collection<CyEdge> getSelectedEdges(); Collection<CyEdge> getUnselectedEdges();  }