json.put("config", config);
json.put("worker", worker);
json.put("multiThreaded", multiThreaded);
json.put("isolationGroup", isolationGroup);
json.put("ha", ha);
json.put("extraClasspath", new JsonArray(cp));
json.put("redeploy", true);
json.put("redeployGracePeriod", 1234);
json.put("redeployScanPeriod", 4567);
DeploymentOptions options = new DeploymentOptions(json);
assertEquals(worker, options.isWorker());