### Question:
IndexTemplateRequest implements Request { @Override public ItemSource serialize() { return new ByteBufItemSource((ByteBuf) source, null); } private  IndexTemplateRequest(Builder builder); @Override String getURI(); @Override String getHttpMethodName(); @Override ItemSource serialize(); static final String HTTP_METHOD_NAME; }### Answer:
@Test public void serializeRequestWrapsSource() { ByteBuf buffer = mock(ByteBuf.class); IndexTemplateRequest request = createDefaultTestObjectBuilder() .withSource(buffer) .build(); ItemSource<ByteBuf> itemSource = request.serialize(); assertEquals(buffer, itemSource.getSource()); }