consul/grpcmocks/proto-public/pbdataplane/mock_UnsafeDataplaneService...

65 lines
2.6 KiB
Go

// Code generated by mockery v2.41.0. DO NOT EDIT.
package mockpbdataplane
import mock "github.com/stretchr/testify/mock"
// UnsafeDataplaneServiceServer is an autogenerated mock type for the UnsafeDataplaneServiceServer type
type UnsafeDataplaneServiceServer struct {
mock.Mock
}
type UnsafeDataplaneServiceServer_Expecter struct {
mock *mock.Mock
}
func (_m *UnsafeDataplaneServiceServer) EXPECT() *UnsafeDataplaneServiceServer_Expecter {
return &UnsafeDataplaneServiceServer_Expecter{mock: &_m.Mock}
}
// mustEmbedUnimplementedDataplaneServiceServer provides a mock function with given fields:
func (_m *UnsafeDataplaneServiceServer) mustEmbedUnimplementedDataplaneServiceServer() {
_m.Called()
}
// UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedDataplaneServiceServer'
type UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call struct {
*mock.Call
}
// mustEmbedUnimplementedDataplaneServiceServer is a helper method to define mock.On call
func (_e *UnsafeDataplaneServiceServer_Expecter) mustEmbedUnimplementedDataplaneServiceServer() *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call {
return &UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call{Call: _e.mock.On("mustEmbedUnimplementedDataplaneServiceServer")}
}
func (_c *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call) Run(run func()) *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call {
_c.Call.Run(func(args mock.Arguments) {
run()
})
return _c
}
func (_c *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call) Return() *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call {
_c.Call.Return()
return _c
}
func (_c *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call) RunAndReturn(run func()) *UnsafeDataplaneServiceServer_mustEmbedUnimplementedDataplaneServiceServer_Call {
_c.Call.Return(run)
return _c
}
// NewUnsafeDataplaneServiceServer creates a new instance of UnsafeDataplaneServiceServer. 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 NewUnsafeDataplaneServiceServer(t interface {
mock.TestingT
Cleanup(func())
}) *UnsafeDataplaneServiceServer {
mock := &UnsafeDataplaneServiceServer{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}