MetricsProxy extends ProxyNodeDecorator { @Override public int hashCode() { return getClass().hashCode(); } MetricsProxy(MetricRegistry metricRegistry); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void noMetricsForStandardObjectMethods() { MockFn fn = createMockFn(SimpleMockFn.class); for (int i = 0; i < 10; i++) { fn.hashCode(); fn.toString(); } assertThat(_registry.getTimers().isEmpty(), is(true)); }