@Test
public void getRestMethodNameReturnsStaticVariable() {

    // given
    IndexRequest indexRequest = createIndexRequestBuilder()
            .index(UUID.randomUUID().toString())
            .build();
    // when
    String restMethodName = indexRequest.getHttpMethodName();
    // then
    assertEquals(IndexRequest.HTTP_METHOD_NAME, restMethodName);
}