How to mock getWebServiceTemplate().marshalSendAndReceive() response

357 Views Asked by At

I'm consuming soap service in spring boot with spring soap client and writing unit test.

How can I mock getWebServiceTemplate().marshalSendAndReceive()

Tried almost everything but couldn’t get it to work.

Any guidance would be greatly appreciated

0

There are 0 best solutions below