GetSignedCookiesUrlTaskResult { public static GetSignedCookiesUrlTaskResult deserialize(String taskResult) { JaxbJsonSerializer<GetSignedCookiesUrlTaskResult> serializer = new JaxbJsonSerializer<>(GetSignedCookiesUrlTaskResult.class); try { return serializer.deserialize(taskResult); } catch (IOException e) { throw new TaskDataException( "Unable to create task result due to: " + e.getMessage()); } } GetSignedCookiesUrlTaskResult(); String getSignedCookiesUrl(); void setSignedCookiesUrl(String signedCookiesUrl); String serialize(); static GetSignedCookiesUrlTaskResult deserialize(String taskResult);  }
@Test public void testDeserialize() { String resultSerialized = "{\"signedCookiesUrl\" : \"" + signedCookiesUrl + "\"}"; GetSignedCookiesUrlTaskResult taskResult = GetSignedCookiesUrlTaskResult.deserialize(resultSerialized); assertEquals(signedCookiesUrl, taskResult.getSignedCookiesUrl()); }