CounterFieldBean { public void increment(long n) { counter.inc(n); }  void increment(long n);  }
@Test @InSequence(2) public void incrementCounterField() { Counter counter = registry.getCounter(counterMID); assertThat("Counter is not registered correctly", counter, notNullValue()); long value = Math.round(Math.random() * Long.MAX_VALUE); bean.increment(value); assertThat("Counter value is incorrect", counter.getCount(), is(equalTo(value))); }