Unable to mock a RestClient bean when testing a class that uses this bean
So I have two classes : A RestClient class and another MetadataService class which uses the restClient bean.
So I have two classes : A RestClient class and another MetadataService class which uses the restClient bean.