()
| 21 | } |
| 22 | |
| 23 | func (dmf *dynamicMockFetcher) fetch() edgediscovery.PercentageFetcher { |
| 24 | return func() (edgediscovery.ProtocolPercents, error) { |
| 25 | return dmf.protocolPercents, dmf.err |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func TestNewProtocolSelector(t *testing.T) { |
| 30 | tests := []struct { |
no outgoing calls
no test coverage detected