hoverfly-java
hoverfly-java copied to clipboard
Captor of body
Is your feature request related to a problem? Please describe.
As developer/tester, I want to use Hoverfly, so that I can capture value of body, after simulation.
I have simulation with anyBody parameter.
notificationRule.simulate(dsl(service("http://localhost:8060").post("/api/notification/send").anyBody().willReturn(success("Ok!", "charset=utf-8"))));
And I need to take exact value of that body during verify. See Mockito Captor.
Describe the solution you'd like It’s possible to create a Captor interface like Mockito