Documentation
¶
Overview ¶
Package mongodb_mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMongoDBContext ¶
type MockMongoDBContext struct {
// contains filtered or unexported fields
}
MockMongoDBContext is a mock of MongoDBContext interface.
func NewMockMongoDBContext ¶
func NewMockMongoDBContext(ctrl *gomock.Controller) *MockMongoDBContext
NewMockMongoDBContext creates a new mock instance.
func (*MockMongoDBContext) Close ¶
func (m *MockMongoDBContext) Close() error
Close mocks base method.
func (*MockMongoDBContext) EXPECT ¶
func (m *MockMongoDBContext) EXPECT() *MockMongoDBContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMongoDBContext) GetConn ¶
func (m *MockMongoDBContext) GetConn() *mongo.Client
GetConn mocks base method.
func (*MockMongoDBContext) GetDatabase ¶
func (m *MockMongoDBContext) GetDatabase() *mongo.Database
GetDatabase mocks base method.
type MockMongoDBContextMockRecorder ¶
type MockMongoDBContextMockRecorder struct {
// contains filtered or unexported fields
}
MockMongoDBContextMockRecorder is the mock recorder for MockMongoDBContext.
func (*MockMongoDBContextMockRecorder) Close ¶
func (mr *MockMongoDBContextMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockMongoDBContextMockRecorder) GetConn ¶
func (mr *MockMongoDBContextMockRecorder) GetConn() *gomock.Call
GetConn indicates an expected call of GetConn.
func (*MockMongoDBContextMockRecorder) GetDatabase ¶
func (mr *MockMongoDBContextMockRecorder) GetDatabase() *gomock.Call
GetDatabase indicates an expected call of GetDatabase.
func (*MockMongoDBContextMockRecorder) Ping ¶
func (mr *MockMongoDBContextMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping.
Click to show internal directories.
Click to hide internal directories.