@Test
void decodeEntryHasNoContentLength() {

  ByteBuf fakeEntry = Unpooled.buffer();
  fakeEntry.writeByte(0);
  fakeEntry.writeCharSequence("w", CharsetUtil.US_ASCII);
  assertThatIllegalStateException()
      .isThrownBy(() -> decodeMimeAndContentBuffersSlices(fakeEntry, 0, false));
}