30 lines
877 B
Go
30 lines
877 B
Go
|
// Code generated by mockery v2.12.2. DO NOT EDIT.
|
||
|
|
||
|
package pbdns
|
||
|
|
||
|
import (
|
||
|
testing "testing"
|
||
|
|
||
|
mock "github.com/stretchr/testify/mock"
|
||
|
)
|
||
|
|
||
|
// MockUnsafeDNSServiceServer is an autogenerated mock type for the UnsafeDNSServiceServer type
|
||
|
type MockUnsafeDNSServiceServer struct {
|
||
|
mock.Mock
|
||
|
}
|
||
|
|
||
|
// mustEmbedUnimplementedDNSServiceServer provides a mock function with given fields:
|
||
|
func (_m *MockUnsafeDNSServiceServer) mustEmbedUnimplementedDNSServiceServer() {
|
||
|
_m.Called()
|
||
|
}
|
||
|
|
||
|
// NewMockUnsafeDNSServiceServer creates a new instance of MockUnsafeDNSServiceServer. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
|
||
|
func NewMockUnsafeDNSServiceServer(t testing.TB) *MockUnsafeDNSServiceServer {
|
||
|
mock := &MockUnsafeDNSServiceServer{}
|
||
|
mock.Mock.Test(t)
|
||
|
|
||
|
t.Cleanup(func() { mock.AssertExpectations(t) })
|
||
|
|
||
|
return mock
|
||
|
}
|