61 lines
1.2 KiB
Go
61 lines
1.2 KiB
Go
// Code generated by mockery v1.0.0. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
mock "github.com/stretchr/testify/mock"
|
|
|
|
sns "github.com/aws/aws-sdk-go/service/sns"
|
|
)
|
|
|
|
// SNSRepository is an autogenerated mock type for the SNSRepository type
|
|
type SNSRepository struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// ListAllSubscriptions provides a mock function with given fields:
|
|
func (_m *SNSRepository) ListAllSubscriptions() ([]*sns.Subscription, error) {
|
|
ret := _m.Called()
|
|
|
|
var r0 []*sns.Subscription
|
|
if rf, ok := ret.Get(0).(func() []*sns.Subscription); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]*sns.Subscription)
|
|
}
|
|
}
|
|
|
|
var r1 error
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
r1 = rf()
|
|
} else {
|
|
r1 = ret.Error(1)
|
|
}
|
|
|
|
return r0, r1
|
|
}
|
|
|
|
// ListAllTopics provides a mock function with given fields:
|
|
func (_m *SNSRepository) ListAllTopics() ([]*sns.Topic, error) {
|
|
ret := _m.Called()
|
|
|
|
var r0 []*sns.Topic
|
|
if rf, ok := ret.Get(0).(func() []*sns.Topic); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]*sns.Topic)
|
|
}
|
|
}
|
|
|
|
var r1 error
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
r1 = rf()
|
|
} else {
|
|
r1 = ret.Error(1)
|
|
}
|
|
|
|
return r0, r1
|
|
}
|