ThreadsView { @NotNull JComponent getComponent() { return myThreadsTable; } ThreadsView(@NotNull NetworkProfilerStageView stageView);   }
@Test public void clickingOnARequestSelectsIt() { Range selection = myStageView.getStage().getTimeline().getSelectionRange(); selection.set(0, TimeUnit.SECONDS.toMicros(44)); int badX = myThreadsView.getComponent().getWidth() - 1; int goodX = getTable().getColumnModel().getColumn(0).getWidth() + 10; int goodY = getTable().getRowHeight() / 2; assertNull(myStageView.getStage().getSelectedConnection()); myUi.mouse.click(badX, goodY); assertNull(myStageView.getStage().getSelectedConnection()); myUi.mouse.click(goodX, goodY); assertNotNull(myStageView.getStage().getSelectedConnection()); myUi.mouse.click(badX, goodY); assertNotNull(myStageView.getStage().getSelectedConnection()); }