### Question:
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();  }### Answer:
@Test public void startButtonIsDisabledWhenValidationFails() { controller.setName(""); assertTrue(controller.start.isDisabled()); }