github.com/mad-app/mattermost-server@v5.11.1+incompatible/store/storetest/mocks/JSONSerializable.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 // Regenerate this file using `make store-mocks`. 4 5 package mocks 6 7 import mock "github.com/stretchr/testify/mock" 8 9 // JSONSerializable is an autogenerated mock type for the JSONSerializable type 10 type JSONSerializable struct { 11 mock.Mock 12 } 13 14 // ToJson provides a mock function with given fields: 15 func (_m *JSONSerializable) ToJson() string { 16 ret := _m.Called() 17 18 var r0 string 19 if rf, ok := ret.Get(0).(func() string); ok { 20 r0 = rf() 21 } else { 22 r0 = ret.Get(0).(string) 23 } 24 25 return r0 26 }