You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Monitoring interface gained a few methods, which is a backwards-incompatible change. Currently, we solve this problem by manually adding "no-op" methods as appropriate.
Instead, for mock implementations of business interfaces such as these, we should use something like java.lang.reflect.Proxy or Mockito or something to implement only the parts we truly need to test.
The text was updated successfully, but these errors were encountered:
Here is an arbitrary example:
helidon/integrations/oci/metrics/cdi/src/test/java/io/helidon/integrations/oci/metrics/cdi/OciMetricsCdiExtensionTest.java
Line 186 in 16ca27b
The
Monitoring
interface gained a few methods, which is a backwards-incompatible change. Currently, we solve this problem by manually adding "no-op" methods as appropriate.Instead, for mock implementations of business interfaces such as these, we should use something like
java.lang.reflect.Proxy
or Mockito or something to implement only the parts we truly need to test.The text was updated successfully, but these errors were encountered: