github.com/tumi8/quic-go@v0.37.4-tum/mock_sealing_manager_test.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/tumi8/quic-go (interfaces: SealingManager) 3 4 // Package quic is a generated GoMock package. 5 package quic 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 handshake "github.com/tumi8/quic-go/noninternal/handshake" 12 ) 13 14 // MockSealingManager is a mock of SealingManager interface. 15 type MockSealingManager struct { 16 ctrl *gomock.Controller 17 recorder *MockSealingManagerMockRecorder 18 } 19 20 // MockSealingManagerMockRecorder is the mock recorder for MockSealingManager. 21 type MockSealingManagerMockRecorder struct { 22 mock *MockSealingManager 23 } 24 25 // NewMockSealingManager creates a new mock instance. 26 func NewMockSealingManager(ctrl *gomock.Controller) *MockSealingManager { 27 mock := &MockSealingManager{ctrl: ctrl} 28 mock.recorder = &MockSealingManagerMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockSealingManager) EXPECT() *MockSealingManagerMockRecorder { 34 return m.recorder 35 } 36 37 // Get0RTTSealer mocks base method. 38 func (m *MockSealingManager) Get0RTTSealer() (handshake.LongHeaderSealer, error) { 39 m.ctrl.T.Helper() 40 ret := m.ctrl.Call(m, "Get0RTTSealer") 41 ret0, _ := ret[0].(handshake.LongHeaderSealer) 42 ret1, _ := ret[1].(error) 43 return ret0, ret1 44 } 45 46 // Get0RTTSealer indicates an expected call of Get0RTTSealer. 47 func (mr *MockSealingManagerMockRecorder) Get0RTTSealer() *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get0RTTSealer", reflect.TypeOf((*MockSealingManager)(nil).Get0RTTSealer)) 50 } 51 52 // Get1RTTSealer mocks base method. 53 func (m *MockSealingManager) Get1RTTSealer() (handshake.ShortHeaderSealer, error) { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "Get1RTTSealer") 56 ret0, _ := ret[0].(handshake.ShortHeaderSealer) 57 ret1, _ := ret[1].(error) 58 return ret0, ret1 59 } 60 61 // Get1RTTSealer indicates an expected call of Get1RTTSealer. 62 func (mr *MockSealingManagerMockRecorder) Get1RTTSealer() *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get1RTTSealer", reflect.TypeOf((*MockSealingManager)(nil).Get1RTTSealer)) 65 } 66 67 // GetHandshakeSealer mocks base method. 68 func (m *MockSealingManager) GetHandshakeSealer() (handshake.LongHeaderSealer, error) { 69 m.ctrl.T.Helper() 70 ret := m.ctrl.Call(m, "GetHandshakeSealer") 71 ret0, _ := ret[0].(handshake.LongHeaderSealer) 72 ret1, _ := ret[1].(error) 73 return ret0, ret1 74 } 75 76 // GetHandshakeSealer indicates an expected call of GetHandshakeSealer. 77 func (mr *MockSealingManagerMockRecorder) GetHandshakeSealer() *gomock.Call { 78 mr.mock.ctrl.T.Helper() 79 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHandshakeSealer", reflect.TypeOf((*MockSealingManager)(nil).GetHandshakeSealer)) 80 } 81 82 // GetInitialSealer mocks base method. 83 func (m *MockSealingManager) GetInitialSealer() (handshake.LongHeaderSealer, error) { 84 m.ctrl.T.Helper() 85 ret := m.ctrl.Call(m, "GetInitialSealer") 86 ret0, _ := ret[0].(handshake.LongHeaderSealer) 87 ret1, _ := ret[1].(error) 88 return ret0, ret1 89 } 90 91 // GetInitialSealer indicates an expected call of GetInitialSealer. 92 func (mr *MockSealingManagerMockRecorder) GetInitialSealer() *gomock.Call { 93 mr.mock.ctrl.T.Helper() 94 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInitialSealer", reflect.TypeOf((*MockSealingManager)(nil).GetInitialSealer)) 95 }