var pollPeriod … var minimalNoChange … var pollTimeout … func TestConditionalProgressRequester(t *testing.T) { … } func newTestConditionalProgressRequester(clock clock.WithTicker) *testConditionalProgressRequester { … } type testConditionalProgressRequester … func (pr *testConditionalProgressRequester) RequestWatchProgress(ctx context.Context) error { … } func pollConditionNoChange(interval, stable, timeout time.Duration, condition func() bool) error { … }