(scope, collection string, channels ch.TimedSet)
| 333 | } |
| 334 | |
| 335 | func (mc *mockComputer) AddChannelsForCollection(scope, collection string, channels ch.TimedSet) { |
| 336 | if mc.channels == nil { |
| 337 | mc.channels = make(map[string]map[string]ch.TimedSet) |
| 338 | } |
| 339 | collectionMap, ok := mc.channels[scope] |
| 340 | if !ok { |
| 341 | collectionMap = make(map[string]ch.TimedSet) |
| 342 | mc.channels[scope] = collectionMap |
| 343 | } |
| 344 | collectionMap[collection] = channels |
| 345 | } |
| 346 | |
| 347 | func (mc *mockComputer) AddRoleChannelsForCollection(scope, collection string, channels ch.TimedSet) { |
| 348 | if mc.roleChannels == nil { |
no outgoing calls
no test coverage detected