Skip to content

Commit

Permalink
commit for cla
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaya-panda1 committed Oct 26, 2022
1 parent ca9971b commit 598eaac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void propertiesToString() throws JsonProcessingException {
void stringToProperties() throws JsonProcessingException {
String properties = "{\"Options\":{\"servertimeout\":\"01:25:11.111\", \"Content-Encoding\":\"gzip\"},\"Parameters\":{\"birthday\":\"datetime(1970-05-11)\",\"courses\":\"dynamic(['Java', 'C++'])\"}}";
ClientRequestProperties crp = ClientRequestProperties.fromString(properties);

assert crp != null;
assert crp.toJson().get("Options").get("servertimeout").asText().equals("01:25:11.111");
assert crp.getTimeoutInMilliSec() != null;
Expand Down

0 comments on commit 598eaac

Please sign in to comment.