@Test
public void getRestMethodNameReturnsStaticVariable() {

    // given
    BufferedIndex bufferedIndex = new BufferedIndex.Builder(mock(ByteBufItemSource.class)).build();
    // when
    String restMethodName = bufferedIndex.getRestMethodName();
    // then
    Assert.assertEquals(BufferedIndex.HTTP_METHOD_NAME, restMethodName);
}