@Test
void shouldReadCustomEncodedAuthType() {

  String testAuthType = "TestAuthType";
  ByteBuf byteBuf =
      AuthMetadataCodec.encodeMetadata(
          ByteBufAllocator.DEFAULT, testAuthType, Unpooled.EMPTY_BUFFER);
  checkDecodeCustomAuthTypeCorrectly(testAuthType, byteBuf);
}