assertTrue(Arrays.asList(spinner.getChangeListeners()).contains(spinner.getEditor()));
}
public void testSetGetUpdateUI() {
assertEquals(spinner.getUIClassID(), "SpinnerUI");
SpinnerUI defaultUI = spinner.getUI();
assertNotNull(defaultUI);
SpinnerUI ui = new SpinnerUI() {
};
spinner.setUI(ui);
assertEquals(ui, spinner.getUI());
assertTrue(propertyChangeController.isChanged("UI"));
propertyChangeController.reset();