Interface MockedThroughWrapper


public interface MockedThroughWrapper
Usually, QuarkusMock mocking replaces a "delegating instance" of a client proxy.

In some cases, e.g. for REST Client, a CDI bean is a wrapper over a delegate. This interface allows to replace the delegate instead of the delegating instance of the proxy.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
  • Method Details

    • setMock

      void setMock(Object mock)
    • clearMock

      void clearMock()