@Test public final void testGetNetworkView() { final CyNetworkViewManager networkViewManager = mock(CyNetworkViewManager.class); final CyNetworkView networkView = mock(CyNetworkView.class); final AbstractNetworkViewEvent event = new AbstractNetworkViewEvent(networkViewManager, Object.class, networkView); assertEquals("Network returned by getNetworkView() is *not* the one passed into the constructor!", networkView, event.getNetworkView()); }
public final CyNetworkView getNetworkView() { return view; }
AbstractNetworkViewEvent extends AbstractCyEvent<CyNetworkViewManager> { public final CyNetworkView getNetworkView() { return view; } }
AbstractNetworkViewEvent extends AbstractCyEvent<CyNetworkViewManager> { public final CyNetworkView getNetworkView() { return view; } AbstractNetworkViewEvent(final CyNetworkViewManager source, final Class<?> listenerClass, final CyNetworkView view); }
AbstractNetworkViewEvent extends AbstractCyEvent<CyNetworkViewManager> { public final CyNetworkView getNetworkView() { return view; } AbstractNetworkViewEvent(final CyNetworkViewManager source, final Class<?> listenerClass, final CyNetworkView view); final CyNetworkView getNetworkView(); }
AbstractNetworkViewEvent extends AbstractCyEvent<CyNetworkViewManager> { public final CyNetworkView getNetworkView() { return view; } AbstractNetworkViewEvent(final CyNetworkViewManager source, final Class<?> listenerClass, final CyNetworkView view); final CyNetworkView getNetworkView();  }