public class JTableHeaderDriver_showPopupMenuByName_Test extends JTableHeaderDriver_showPopupMenu_TestCase {
@Test
public void should_show_popup_menu() {
showWindow();
driver.click(tableHeader);
ClickRecorder recorder = attachTo(tableHeader);
driver.showPopupMenu(tableHeader, "1");
recorder.clicked(RIGHT_BUTTON).timesClicked(1);
assertThatColumnWasClicked(recorder, 1);
assertThat(isVisible(popupMenu)).isTrue();
}