// DefaultingTest run defaulting tests for given scheme func DefaultingTest(t *testing.T, scheme *runtime.Scheme, codecs serializer.CodecFactory) { … } // GetDefaultingTestCases returns defaulting testcases for given scheme func GetDefaultingTestCases(t *testing.T, scheme *runtime.Scheme, codecs serializer.CodecFactory) []TestCase { … }