()
| 123 | return result |
| 124 | } |
| 125 | func newConfigsForTest() (cfg StoreConfig, c codec.Codec) { |
| 126 | cfg = StoreConfig{ |
| 127 | Multi: MultiConfig{ |
| 128 | Primary: "inmemory", |
| 129 | Secondary: "mock", |
| 130 | }, |
| 131 | } |
| 132 | c = codec.NewProtoCodec("test", func() proto.Message { |
| 133 | return &mockMessage{id: "inCodec"} |
| 134 | }) |
| 135 | return |
| 136 | } |
| 137 | |
| 138 | type mockMessage struct { |
| 139 | id string |
no test coverage detected