()
| 52 | } |
| 53 | |
| 54 | func (m *mockSource) getReadCount() int { |
| 55 | m.mu.RLock() |
| 56 | defer m.mu.RUnlock() |
| 57 | return m.readCount |
| 58 | } |
| 59 | |
| 60 | func TestSourceLoader_Read_WithRefreshInterval_BeforeExpiry(t *testing.T) { |
| 61 | t.Parallel() |
no outgoing calls
no test coverage detected