You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: delayed_request_rate_limiter_test.go
    path of file: ./repos/temporal/common/quotas
    
    the code of the file until where you have to start completion: // The MIT License
//
// Copyright (c) 2020 Temporal Technologies Inc.  
    
func TestDelayedRequestRateLimiter_Allow(t *testing.T) {
	t.Parallel()

	timeSource := clock.NewEventTimeSource()
	drl, err := quotas.NewDelayedRequestRateLimiter(disallowingRateLimiter{}, time.Second, timeSource)
	require.NoError(t, err)
	timeSource.Advance(time.Second - time.Nanosecond)
	assert.True(t, drl.Allow(time.Time{}, quotas.Request{}), "expected Allow to return true because the "+
		"timer hasn't expired yet")
	timeSource.Advance(time.Nanosecond)
	assert.False(t, drl.Allow(time.Time{}, quotas.Request{}), "expected Allow to return false because the "+
		"timer expired, and we switched to the disallowing rate limiter")
}