@Test
public void shouldRegisterActiveStatesPerTriggerMetric() {

  RunState.State state = RunState.State.NEW;
  stats.registerActiveStatesMetric(state, "triggerName", gauge);
  verify(registry).register(ACTIVE_STATES_PER_RUNSTATE_PER_TRIGGER.tagged(
      "state", state.name(), "trigger", "triggerName"), gauge);
}