@Test
void decodeEntryTooShortForMimeLength() {

  ByteBuf fakeEntry = Unpooled.buffer();
  fakeEntry.writeByte(120);
  assertThatIllegalStateException()
      .isThrownBy(() -> decodeMimeAndContentBuffersSlices(fakeEntry, 0, false));
}