Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMongoDatabase ¶
type MockMongoDatabase struct {
// contains filtered or unexported fields
}
MockMongoDatabase is a mock of MongoDatabase interface
func NewMockMongoDatabase ¶
func NewMockMongoDatabase(ctrl *gomock.Controller) *MockMongoDatabase
NewMockMongoDatabase creates a new mock instance
func (*MockMongoDatabase) Collection ¶
func (m *MockMongoDatabase) Collection(name string, opts ...*options.CollectionOptions) *mongo.Collection
Collection mocks base method
func (*MockMongoDatabase) EXPECT ¶
func (m *MockMongoDatabase) EXPECT() *MockMongoDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMongoDatabaseMockRecorder ¶
type MockMongoDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockMongoDatabaseMockRecorder is the mock recorder for MockMongoDatabase
func (*MockMongoDatabaseMockRecorder) Collection ¶
func (mr *MockMongoDatabaseMockRecorder) Collection(name interface{}, opts ...interface{}) *gomock.Call
Collection indicates an expected call of Collection
Click to show internal directories.
Click to hide internal directories.