Setting request body in controller testing with Stripes
-
10-10-2019 - |
Question
I'm creating an ActionBean that takes a request that contains an XML message. Is there a way for me to simulate this operation using the mocking framework included in Stripes?
Solution
I just realized I could probably just mock it from a custom ActionBeanContext method while the actual application context implementation will access the request object directly.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow