consul-client icon indicating copy to clipboard operation
consul-client copied to clipboard

Add test for ConsulResponse.toString

Open lacinoire opened this issue 2 years ago • 0 comments

Hey 😊 I want to contribute the following test:

Test that consulResponse.toString() is equal to "ConsulResponse{response=success, lastContact=0, knownLeader=false, index=0, cache=Optional.empty}". This tests the method ConsulResponse.toString. This test is based on the test consulResponseShouldHaveResponseAndDefaultValuesIfNoHeader.

Curious to hear what you think!

Also, is the description I provided of the test helping you to answer to this pull request? Why (not)?

(I wrote this test as part of a research study at TU Delft. Find out more)

lacinoire avatar Jun 16 '22 09:06 lacinoire