@Test
public void shouldRecordPublishing() {

  when(registry.meter(PUBLISHING_RATE.tagged("type", "deploying", "state", "SUBMITTED"))).thenReturn(meter);
  stats.recordPublishing("deploying", "SUBMITTED");
  verify(meter).mark();
}