@Test public void startButtonIsDisabledWhenValidationFails() { controller.setName(""); assertTrue(controller.start.isDisabled()); }
public void setName(String name) { nameProperty.set(name); }
SyncSetupController extends AbstractController implements Initializable { public void setName(String name) { nameProperty.set(name); } }
SyncSetupController extends AbstractController implements Initializable { public void setName(String name) { nameProperty.set(name); }  }
SyncSetupController extends AbstractController implements Initializable { public void setName(String name) { nameProperty.set(name); }  @Override void initialize(URL location, ResourceBundle resources); void setName(String name); boolean isValid(); void setLocalPath(String localPath); void setRemotePath(String remotePath); void createSyncConfigFromForm(); void close(); void setStage(Stage stage); Stage getStage(); }
SyncSetupController extends AbstractController implements Initializable { public void setName(String name) { nameProperty.set(name); }  @Override void initialize(URL location, ResourceBundle resources); void setName(String name); boolean isValid(); void setLocalPath(String localPath); void setRemotePath(String remotePath); void createSyncConfigFromForm(); void close(); void setStage(Stage stage); Stage getStage();  }