### Question:
SyncSetupController extends AbstractController implements Initializable { public boolean isValid() { return validProperty.get(); }  @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 testValidatesOnValidProperties() { assertTrue("empty remotePath did not invalidate form", controller.isValid()); }