String (String id, boolean isAccepted) { final long tstamp = System.currentTimeMillis(); return "[{\"consentId\":\"" + id + "\",\"version\":\"1.5\",\"text\":\"This is an upgraded text of test consent option.\",\"printableName\":\"Test consent option\",\"accepted\":" + isAccepted + ",\"deleted\":false,\"acceptanceTime\":" + tstamp + "}]"; }