use of org.testfx.service.finder.WindowFinder in project TestFX by TestFX.
the class WriteRobotImplTest method setup.
@Before
public void setup() throws Exception {
stage = FxToolkit.registerStage(Stage::new);
scene = FxToolkit.setupScene(() -> new Scene(new Region()));
baseRobot = mock(BaseRobot.class);
sleepRobot = mock(SleepRobot.class);
windowFinder = mock(WindowFinder.class);
writeRobot = new WriteRobotImpl(baseRobot, sleepRobot, windowFinder);
}
Aggregations