(p []byte)
| 45 | } |
| 46 | |
| 47 | func (tr *testRandomReader) Read(p []byte) (n int, err error) { |
| 48 | for i := 0; i < len(p); i++ { |
| 49 | p[i] = tr.Next |
| 50 | tr.Next += 2 |
| 51 | } |
| 52 | return len(p), nil |
| 53 | } |
| 54 | |
| 55 | func NewServiceProviderTest(t *testing.T) *ServiceProviderTest { |
| 56 | TimeNow = func() time.Time { |
nothing calls this directly
no outgoing calls
no test coverage detected