mock

package
v0.0.0-...-c33e8bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 4 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL