type fakePodLW … func (lw fakePodLW) List(options metav1.ListOptions) (runtime.Object, error) { … } func (lw fakePodLW) Watch(options metav1.ListOptions) (watch.Interface, error) { … } var _ … func TestNewSourceApiserver_UpdatesAndMultiplePods(t *testing.T) { … } func TestNewSourceApiserver_TwoNamespacesSameName(t *testing.T) { … } func TestNewSourceApiserverInitialEmptySendsEmptyPodUpdate(t *testing.T) { … }