0

I'm trying to do a mock calling a feign client but when I execute the test, the feign client returns null.

I'm using when().thenReturn() but seems not working.

Someone knows how to accomplish this?. I don't need real call to feign client, only mock a fake call.

Thanks.

knittl
  • 246,190
  • 53
  • 318
  • 364
  • 2
    You should add some code samples so that people can help you – Matt Aug 15 '23 at 16:39
  • Please take the [tour], read [ask], and then [edit] your question to provide a [mre] as _text_ (not screenshots). – knittl Aug 16 '23 at 02:31

0 Answers0