type mockPodStatusProvider … // GetPodStatus returns the status on the associated pod with matching uid (if found) func (m *mockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) { … } func TestNewActiveDeadlineHandler(t *testing.T) { … } // TestActiveDeadlineHandler verifies the active deadline handler functions as expected. func TestActiveDeadlineHandler(t *testing.T) { … }