public LeaderInformation forComponentIdOrEmpty(String componentId) {
        return forComponentId(componentId).orElse(LeaderInformation.empty());
    }
@Test
    void testForComponentIdOrEmpty() {
        final String componentId = "component-id";
        final LeaderInformation leaderInformation =
                LeaderInformation.known(UUID.randomUUID(), "address");
        assertThat(
                        LeaderInformationRegister.of(componentId, leaderInformation)
                                .forComponentIdOrEmpty(componentId))
                .isEqualTo(leaderInformation);
    }