Add rest-client-test module: @RestClientTest on Boot 4.1, Jackson 3 by default, and the RestClient-vs-RestTemplate root-URI matching trap (post #49)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
== A declarative @HttpExchange interface client, mocked the same way as a hand-written one ==
|
||||
|
||||
requestTo("http://hr-api.example.com/employees/3") -> 200 OK {"id":3,"firstName":"Daniel","lastName":"O","email":"[email protected]"}
|
||||
result = Employee[id=3, firstName=Daniel, lastName=O, [email protected]]
|
||||
Reference in New Issue
Block a user