public void measureAccountOutgoingMessageUuidMismatches(final Account account,
      final OutgoingMessageEntity outgoingMessage) {
    measureAccountDestinationUuidMismatches(account, outgoingMessage.destinationUuid());
  }
@Test
  void measureAccountOutgoingMessageUuidMismatches() {

    final OutgoingMessageEntity outgoingMessageToAci = createOutgoingMessageEntity(new AciServiceIdentifier(aci));
    messageMetrics.measureAccountOutgoingMessageUuidMismatches(account, outgoingMessageToAci);

    Optional<Counter> counter = findCounter(simpleMeterRegistry);

    assertTrue(counter.isEmpty());

    final OutgoingMessageEntity outgoingMessageToPni = createOutgoingMessageEntity(new PniServiceIdentifier(pni));
    messageMetrics.measureAccountOutgoingMessageUuidMismatches(account, outgoingMessageToPni);
    counter = findCounter(simpleMeterRegistry);

    assertTrue(counter.isEmpty());

    final OutgoingMessageEntity outgoingMessageToOtherUuid = createOutgoingMessageEntity(new AciServiceIdentifier(otherUuid));
    messageMetrics.measureAccountOutgoingMessageUuidMismatches(account, outgoingMessageToOtherUuid);
    counter = findCounter(simpleMeterRegistry);

    assertEquals(1.0, counter.map(Counter::count).orElse(0.0));
  }