@Test
public void uriContainsTemplateName() {

    // given
    String expectedTemplateName = UUID.randomUUID().toString();
    IndexTemplateRequest request = createDefaultTestObjectBuilder()
            .withTemplateName(expectedTemplateName)
            .build();
    // when
    String uri = request.getURI();
    // then
    assertTrue(uri.endsWith(expectedTemplateName));
}