Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sundowndev
GitHub Repository: sundowndev/phoneinfoga
Path: blob/master/mocks/NumverifySupplier.go
988 views
1
// Code generated by mockery v2.38.0. DO NOT EDIT.
2
3
package mocks
4
5
import (
6
mock "github.com/stretchr/testify/mock"
7
suppliers "github.com/sundowndev/phoneinfoga/v2/lib/remote/suppliers"
8
)
9
10
// NumverifySupplier is an autogenerated mock type for the NumverifySupplierInterface type
11
type NumverifySupplier struct {
12
mock.Mock
13
}
14
15
// Request provides a mock function with given fields:
16
func (_m *NumverifySupplier) Request() suppliers.NumverifySupplierRequestInterface {
17
ret := _m.Called()
18
19
if len(ret) == 0 {
20
panic("no return value specified for Request")
21
}
22
23
var r0 suppliers.NumverifySupplierRequestInterface
24
if rf, ok := ret.Get(0).(func() suppliers.NumverifySupplierRequestInterface); ok {
25
r0 = rf()
26
} else {
27
if ret.Get(0) != nil {
28
r0 = ret.Get(0).(suppliers.NumverifySupplierRequestInterface)
29
}
30
}
31
32
return r0
33
}
34
35
// NewNumverifySupplier creates a new instance of NumverifySupplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
36
// The first argument is typically a *testing.T value.
37
func NewNumverifySupplier(t interface {
38
mock.TestingT
39
Cleanup(func())
40
}) *NumverifySupplier {
41
mock := &NumverifySupplier{}
42
mock.Mock.Test(t)
43
44
t.Cleanup(func() { mock.AssertExpectations(t) })
45
46
return mock
47
}
48
49