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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: input.go
     3  
     4  // Package empty_interface is a generated GoMock package.
     5  package empty_interface
     6  
     7  import (
     8  	gomock "github.com/golang/mock/gomock"
     9  )
    10  
    11  // MockEmpty is a mock of Empty interface.
    12  type MockEmpty struct {
    13  	ctrl     *gomock.Controller
    14  	recorder *MockEmptyMockRecorder
    15  }
    16  
    17  // MockEmptyMockRecorder is the mock recorder for MockEmpty.
    18  type MockEmptyMockRecorder struct {
    19  	mock *MockEmpty
    20  }
    21  
    22  // NewMockEmpty creates a new mock instance.
    23  func NewMockEmpty(ctrl *gomock.Controller) *MockEmpty {
    24  	mock := &MockEmpty{ctrl: ctrl}
    25  	mock.recorder = &MockEmptyMockRecorder{mock}
    26  	return mock
    27  }
    28  
    29  // EXPECT returns an object that allows the caller to indicate expected use.
    30  func (m *MockEmpty) EXPECT() *MockEmptyMockRecorder {
    31  	return m.recorder
    32  }