@Test
void test_valid_number_of_retries() {

    Integer numberOfRetries = 3;
    ZookeeperConfiguration zookeeperConfiguration =
        new ZookeeperConfiguration("connection-string", "/leader-selector-path",
            null, numberOfRetries);
    Assertions.assertEquals(numberOfRetries.intValue(),
        zookeeperConfiguration.getNumberOfRetries());
}