| // Code generated by mockery v0.0.0-dev. DO NOT EDIT. |
| |
| package mocks |
| |
| import ( |
| context "context" |
| |
| mock "github.com/stretchr/testify/mock" |
| ) |
| |
| // Docsy is an autogenerated mock type for the Docsy type |
| type Docsy struct { |
| mock.Mock |
| } |
| |
| // Render provides a mock function with given fields: ctx, src, dst |
| func (_m *Docsy) Render(ctx context.Context, src string, dst string) error { |
| ret := _m.Called(ctx, src, dst) |
| |
| if len(ret) == 0 { |
| panic("no return value specified for Render") |
| } |
| |
| var r0 error |
| if rf, ok := ret.Get(0).(func(context.Context, string, string) error); ok { |
| r0 = rf(ctx, src, dst) |
| } else { |
| r0 = ret.Error(0) |
| } |
| |
| return r0 |
| } |
| |
| // NewDocsy creates a new instance of Docsy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. |
| // The first argument is typically a *testing.T value. |
| func NewDocsy(t interface { |
| mock.TestingT |
| Cleanup(func()) |
| }) *Docsy { |
| mock := &Docsy{} |
| mock.Mock.Test(t) |
| |
| t.Cleanup(func() { mock.AssertExpectations(t) }) |
| |
| return mock |
| } |