@Test
public void canReuseFailedItemSourceFromGivenRequest() {

    // given
    HCFailedItemOps failedItemOps = new HCFailedItemOps();
    FailedItemSource<ByteBuf> itemSource = mock(FailedItemSource.class);
    IndexRequest request = createDefaultTestIndexRequest(
            itemSource,
            UUID.randomUUID().toString()
    );
    // when
    FailedItemSource result = failedItemOps.createItem(request);
    // then
    assertSame(itemSource, result);
}