(d *Desc, id, zone string, numTokens int, force bool)
| 168 | } |
| 169 | |
| 170 | func (m *mockedTokenGenerator) GenerateTokens(d *Desc, id, zone string, numTokens int, force bool) []uint32 { |
| 171 | m.called++ |
| 172 | return m.RandomTokenGenerator.GenerateTokens(d, id, zone, numTokens, force) |
| 173 | } |
| 174 | |
| 175 | func newMockedTokenGenerator(totalZones int) *mockedTokenGenerator { |
| 176 | return &mockedTokenGenerator{totalZones: totalZones, zones: make(map[string]int)} |
nothing calls this directly
no test coverage detected