kubernetes/staging/src/k8s.io/apiserver/pkg/admission/errors_test.go

// makes sure that we never get:
// Internal error occurred: [some error, object does not implement the Object interfaces]
func TestNewForbidden(t *testing.T) {}

type fakeObj

type fakeObjKind

func (f *fakeObj) GetObjectKind() schema.ObjectKind {}

func (f *fakeObj) DeepCopyObject() runtime.Object {}

func (f *fakeObjKind) SetGroupVersionKind(kind schema.GroupVersionKind) {}

func (f *fakeObjKind) GroupVersionKind() schema.GroupVersionKind {}