@Test
void test_negative_number_of_retries() {

    ZookeeperConfiguration zookeeperConfiguration =
        new ZookeeperConfiguration("connection-string", "/leader-selector-path", null, -1);
    Assertions.assertEquals(ZookeeperConfiguration.DEFAULT_NUMBER_OF_RETRIES,
        zookeeperConfiguration.getNumberOfRetries());
}