public boolean hasNoLeaderInformation() {
        return leaderInformationPerComponentId.isEmpty();
    }
@Test
    void hasNoLeaderInformation() {
        LeaderInformationRegister register = LeaderInformationRegister.empty();
        assertThat(register.hasNoLeaderInformation()).isTrue();

        register = LeaderInformationRegister.of("component-id", LeaderInformation.empty());
        assertThat(register.hasNoLeaderInformation()).isTrue();

        register =
                LeaderInformationRegister.merge(
                        register,
                        "other-component-id",
                        LeaderInformation.known(UUID.randomUUID(), "address"));
        assertThat(register.hasNoLeaderInformation()).isFalse();
    }