@Test public final void testGetTable() { final CyTableManager tableManager = mock(CyTableManager.class); final CyTable table = mock(CyTable.class); final TableAboutToBeDeletedEvent event = new TableAboutToBeDeletedEvent(tableManager, table); assertEquals("TableManager returned by getSource() is *not* the one passed into the constructor!", tableManager, event.getSource()); assertEquals("Table returned by getTable() is *not* the one passed into the constructor!", table, event.getTable()); }
public final CyTable getTable() { return table; }
TableAboutToBeDeletedEvent extends AbstractCyEvent<CyTableManager> { public final CyTable getTable() { return table; } }
TableAboutToBeDeletedEvent extends AbstractCyEvent<CyTableManager> { public final CyTable getTable() { return table; } TableAboutToBeDeletedEvent(final CyTableManager source, final CyTable table); }
TableAboutToBeDeletedEvent extends AbstractCyEvent<CyTableManager> { public final CyTable getTable() { return table; } TableAboutToBeDeletedEvent(final CyTableManager source, final CyTable table); final CyTable getTable(); }
TableAboutToBeDeletedEvent extends AbstractCyEvent<CyTableManager> { public final CyTable getTable() { return table; } TableAboutToBeDeletedEvent(final CyTableManager source, final CyTable table); final CyTable getTable();  }