@Override
    public void afterMethod(final TargetAdviceObject target, final TargetAdviceMethod method, final Object[] args, final Object result, final String pluginType) {
        MetricsCollectorRegistry.<CounterMetricsCollector>get(config, pluginType).inc();
    }
@Test
    void assertCountExecuteErrors() {
        TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
        new ExecuteErrorsCountAdvice().afterMethod(targetObject, mock(TargetAdviceMethod.class), new Object[]{}, null, "FIXTURE");
        assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("1"));
    }