This code causes a warning "The Rest Client object should have the @Inject annotation to be injected as a CDI bean"
@InjectMock
@RestClient
MyRestClientInterface restClient;
even thought it has @InjectMock.
This code causes a warning "The Rest Client object should have the @Inject and @restclient annotations to be injected as a CDI bean."
public abstract class MyAbstractClass implements MyInterface {
private final MyRestClientInterface restClient;
protected MyAbstractClass (MyRestClientInterface restClient) {
even thought it's an abstract class with a constructor initialization