*/
public class JTreeDriver_rightClickPath_Test extends JTreeDriver_clickCell_TestCase {
@Test
public void should_right_click_path() {
showWindow();
ClickRecorder recorder = ClickRecorder.attachTo(tree);
driver.rightClickPath(tree, "root/branch1/branch1.1/branch1.1.1");
assertThat(recorder).wasClickedWith(RIGHT_BUTTON).timesClicked(1);
String clickedPath = pathAtPoint(tree, recorder.pointClicked(), driver.separator());
assertThat(clickedPath).isEqualTo("root/branch1/branch1.1/branch1.1.1");
}