private static void assertStartsWith(String prefix, String str) {
        assertTrue(str.startsWith(prefix),
                "Expected string '" + str + "' to start with '" + prefix + "'");
    }
Test attempting to parse an event which has a malformed message version varint.
metadata/src/test/java/org/apache/kafka/metadata/MetadataRecordSerdeTest.java