Add a method "testParsingFails" to the ProtoKeyFormatSerializationTester.

This allows testing that parsing a proto has to fail.

PiperOrigin-RevId: 456704420
Change-Id: Ie628cc0b9c2ef690ea39f3a08ce65bed25b475f3
3 files changed