@Test public final void testGetNetwork() { final CyNetworkManager networkManager = mock(CyNetworkManager.class); final CyNetwork network = mock(CyNetwork.class); final AbstractNetworkEvent event = new AbstractNetworkEvent(networkManager, Object.class, network); assertEquals("Network returned by getNetwork() is *not* the one passed into the constructor!", network, event.getNetwork()); }
public final CyNetwork getNetwork() { return net; }
AbstractNetworkEvent extends AbstractCyEvent<CyNetworkManager> { public final CyNetwork getNetwork() { return net; } }
AbstractNetworkEvent extends AbstractCyEvent<CyNetworkManager> { public final CyNetwork getNetwork() { return net; } AbstractNetworkEvent(final CyNetworkManager source, final Class<?> listenerClass, final CyNetwork net); }
AbstractNetworkEvent extends AbstractCyEvent<CyNetworkManager> { public final CyNetwork getNetwork() { return net; } AbstractNetworkEvent(final CyNetworkManager source, final Class<?> listenerClass, final CyNetwork net); final CyNetwork getNetwork(); }
AbstractNetworkEvent extends AbstractCyEvent<CyNetworkManager> { public final CyNetwork getNetwork() { return net; } AbstractNetworkEvent(final CyNetworkManager source, final Class<?> listenerClass, final CyNetwork net); final CyNetwork getNetwork();  }