@Test
public void testRepositorySingleName() {

    GetSnapshotRepository getSnapshotRepository = new GetSnapshotRepository.Builder(repository).build();
    assertEquals("GET", getSnapshotRepository.getRestMethodName());
    assertEquals("/_snapshot/leeseohoo", getSnapshotRepository.getURI(ElasticsearchVersion.UNKNOWN));
}