public void should_click_path() {
showWindow();
ClickRecorder recorder = ClickRecorder.attachTo(tree);
driver.clickPath(tree, "root/branch1/branch1.1/branch1.1.1", mouseClickInfo);
assertThat(recorder).clicked(RIGHT_BUTTON).timesClicked(2);
String clickedPath = pathAtPoint(tree, recorder.pointClicked(), driver.separator());
assertThat(clickedPath).isEqualTo("root/branch1/branch1.1/branch1.1.1");
}
@Test
public void should_throw_error_if_path_not_found() {