kubernetes/test/integration/apiserver/cbor_test.go

// TestNondeterministicResponseEncoding verifies that the encoding of response bodies to CBOR is not
// deterministic. Even in cases where encoding deterministically has no overhead, some randomness is
// introduced to prevent clients from inadvertently depending on deterministic encoding when it is
// not guaranteed.
func TestNondeterministicResponseEncoding(t *testing.T) {}

type rawCapturingDecoder

func (d *rawCapturingDecoder) Decode(data []byte, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) {}