Feign client provides a declarative mechanism for the clients to consume rest based APIs. Spring Cloud integrates Feign with Ribbon and Eureka to provide service discovery as well as inherent client side load balancing.
Create a simple feign client calling a remote method hello on a remote service identified by name test. We want to test this Feign client without the creation of target service.
#openfeign #unit-testing #ribbon #spring-boot-2 #spring