| 6 | ) |
| 7 | |
| 8 | type mockRing struct { |
| 9 | addImpl func(node string) |
| 10 | removeImpl func(node string) |
| 11 | replicaPeersImpl func(string) []string |
| 12 | successorImpl func(string) string |
| 13 | getOwnedKeysImpl func([]string) []string |
| 14 | ownedKeysByNodeImpl func([]string, string) []string |
| 15 | } |
| 16 | |
| 17 | func (m *mockRing) replicaPeers(node string) []string { |
| 18 | return m.replicaPeersImpl(node) |
nothing calls this directly
no outgoing calls
no test coverage detected