func TestWatchListResult(t *testing.T) { … } func TestWatchListSuccess(t *testing.T) { … } func TestWatchListFailure(t *testing.T) { … } func TestWatchListWhenFeatureGateDisabled(t *testing.T) { … } func makeEmptyPodList() *v1.PodList { … } func makePod(rv uint64) *v1.Pod { … } func makeNamespace(name string) *v1.Namespace { … } func makeBookmarkEvent(rv uint64, t *testing.T) *v1.Pod { … } type fakeObj … func (f fakeObj) GetObjectKind() schema.ObjectKind { … } func (f fakeObj) DeepCopyObject() runtime.Object { … } func newJSONSerializer() runtime.Serializer { … } func encodeObjectToBase64String(obj runtime.Object, t *testing.T) string { … }