@Test public void should_lookup_showing_JScrollPane_by_name() { robot.showWindow(window); JScrollPaneFixture fixture = new JScrollPaneFixture(robot, "scrollPane"); assertThat(fixture.robot()).isSameAs(robot); assertThat(fixture.target()).isSameAs(window.scrollPane); }
@Override void onSetUp() { driver = createMock(JScrollPaneDriver.class); fixture = new JScrollPaneFixture(robot(), target); fixture.driver(driver); }