Supports functional testing of {@code JSpinner}s.
Note: This class is intended for internal use only. Please use the classes in the package {@link org.fest.swing.fixture} in your tests.
56575859606162
super(JSpinnerFixture.class, robot, target); } @Override protected @Nonnull JSpinnerDriver createDriver(@Nonnull Robot robot) { return new JSpinnerDriver(robot); }
8990919293949596979899
verify(fixture.driver()).requireValue(fixture.target(), "Six"); } @Test public void should_return_text_using_driver() { JSpinnerDriver driver = fixture.driver(); JSpinner target = fixture.target(); when(driver.textOf(target)).thenReturn("Six"); assertThat(fixture.text()).isEqualTo("Six"); verify(driver).textOf(target); }
66676869707172
super(robot, target); createDriver(); } private void createDriver() { driver(new JSpinnerDriver(robot)); }