Implement SDL CLI 'set' -command
[ric-plt/sdlgo.git] / internal / mocks / db_mocks_private_testing.go
index f6d0791..45fbb78 100644 (file)
@@ -49,3 +49,8 @@ func (m *MockSdlApi) ListKeys(ns string, pattern string) ([]string, error) {
        a := m.Called(ns, pattern)
        return a.Get(0).([]string), a.Error(1)
 }
+
+func (m *MockSdlApi) Set(ns string, pairs ...interface{}) error {
+       a := m.Called(ns, pairs)
+       return a.Error(0)
+}