@Test
public void testFindVersionFindIndex() {

    ElasticConnectionPoolConfigurationPublisher publisher =
            new ElasticConnectionPoolConfigurationPublisher("ClientApp", "dyno_cluster_1", "unit-test-vip", config);
    assertTrue(publisher.findVersionStartIndex(null) < 0);
    assertTrue(publisher.findVersionStartIndex("foo") < 0);
    assertTrue(publisher.findVersionStartIndex("foo-bar.jar") < 0);
    assertTrue(publisher.findVersionStartIndex("foo-bar-2.3") == 8);
    assertTrue(publisher.findVersionStartIndex("foo-bar-2.3.1-SNAPSHOT") == 8);
    assertTrue(publisher.findVersionStartIndex("foo-bar-baz-2.3") == 12);
}