@Test
void shouldNotReadSimpleWellKnownAuthTypeIfEncodedLength1() {

  ByteBuf metadata =
      AuthMetadataCodec.encodeMetadata(
          ByteBufAllocator.DEFAULT, "testmetadataauthtype", Unpooled.EMPTY_BUFFER);
  WellKnownAuthType expectedType = WellKnownAuthType.UNPARSEABLE_AUTH_TYPE;
  checkDecodeWellKnowAuthTypeCorrectly(metadata, expectedType);
}