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