-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_unsafe_customers_service_server.go
30 lines (22 loc) · 1.05 KB
/
mock_unsafe_customers_service_server.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Code generated by mockery v2.14.0. DO NOT EDIT.
package customerspb
import mock "github.com/stretchr/testify/mock"
// MockUnsafeCustomersServiceServer is an autogenerated mock type for the UnsafeCustomersServiceServer type
type MockUnsafeCustomersServiceServer struct {
mock.Mock
}
// mustEmbedUnimplementedCustomersServiceServer provides a mock function with given fields:
func (_m *MockUnsafeCustomersServiceServer) mustEmbedUnimplementedCustomersServiceServer() {
_m.Called()
}
type mockConstructorTestingTNewMockUnsafeCustomersServiceServer interface {
mock.TestingT
Cleanup(func())
}
// NewMockUnsafeCustomersServiceServer creates a new instance of MockUnsafeCustomersServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewMockUnsafeCustomersServiceServer(t mockConstructorTestingTNewMockUnsafeCustomersServiceServer) *MockUnsafeCustomersServiceServer {
mock := &MockUnsafeCustomersServiceServer{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}