github.com/golang/mock@v1.6.0/mockgen/internal/tests/dot_imports/mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: input.go
     3  
     4  // Package dot_imports is a generated GoMock package.
     5  package dot_imports
     6  
     7  import (
     8  	bytes "bytes"
     9  	. "context"
    10  	. "net/http"
    11  	reflect "reflect"
    12  
    13  	gomock "github.com/golang/mock/gomock"
    14  )
    15  
    16  // MockWithDotImports is a mock of WithDotImports interface.
    17  type MockWithDotImports struct {
    18  	ctrl     *gomock.Controller
    19  	recorder *MockWithDotImportsMockRecorder
    20  }
    21  
    22  // MockWithDotImportsMockRecorder is the mock recorder for MockWithDotImports.
    23  type MockWithDotImportsMockRecorder struct {
    24  	mock *MockWithDotImports
    25  }
    26  
    27  // NewMockWithDotImports creates a new mock instance.
    28  func NewMockWithDotImports(ctrl *gomock.Controller) *MockWithDotImports {
    29  	mock := &MockWithDotImports{ctrl: ctrl}
    30  	mock.recorder = &MockWithDotImportsMockRecorder{mock}
    31  	return mock
    32  }
    33  
    34  // EXPECT returns an object that allows the caller to indicate expected use.
    35  func (m *MockWithDotImports) EXPECT() *MockWithDotImportsMockRecorder {
    36  	return m.recorder
    37  }
    38  
    39  // Method1 mocks base method.
    40  func (m *MockWithDotImports) Method1() Request {
    41  	m.ctrl.T.Helper()
    42  	ret := m.ctrl.Call(m, "Method1")
    43  	ret0, _ := ret[0].(Request)
    44  	return ret0
    45  }
    46  
    47  // Method1 indicates an expected call of Method1.
    48  func (mr *MockWithDotImportsMockRecorder) Method1() *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method1", reflect.TypeOf((*MockWithDotImports)(nil).Method1))
    51  }
    52  
    53  // Method2 mocks base method.
    54  func (m *MockWithDotImports) Method2() *bytes.Buffer {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "Method2")
    57  	ret0, _ := ret[0].(*bytes.Buffer)
    58  	return ret0
    59  }
    60  
    61  // Method2 indicates an expected call of Method2.
    62  func (mr *MockWithDotImportsMockRecorder) Method2() *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method2", reflect.TypeOf((*MockWithDotImports)(nil).Method2))
    65  }
    66  
    67  // Method3 mocks base method.
    68  func (m *MockWithDotImports) Method3() Context {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "Method3")
    71  	ret0, _ := ret[0].(Context)
    72  	return ret0
    73  }
    74  
    75  // Method3 indicates an expected call of Method3.
    76  func (mr *MockWithDotImportsMockRecorder) Method3() *gomock.Call {
    77  	mr.mock.ctrl.T.Helper()
    78  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method3", reflect.TypeOf((*MockWithDotImports)(nil).Method3))
    79  }