github.com/MerlinKodo/quic-go@v0.39.2/mock_token_store_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/MerlinKodo/quic-go (interfaces: TokenStore)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package quic -self_package github.com/MerlinKodo/quic-go -self_package github.com/MerlinKodo/quic-go -destination mock_token_store_test.go github.com/MerlinKodo/quic-go TokenStore
     7  //
     8  // Package quic is a generated GoMock package.
     9  package quic
    10  
    11  import (
    12  	reflect "reflect"
    13  
    14  	gomock "go.uber.org/mock/gomock"
    15  )
    16  
    17  // MockTokenStore is a mock of TokenStore interface.
    18  type MockTokenStore struct {
    19  	ctrl     *gomock.Controller
    20  	recorder *MockTokenStoreMockRecorder
    21  }
    22  
    23  // MockTokenStoreMockRecorder is the mock recorder for MockTokenStore.
    24  type MockTokenStoreMockRecorder struct {
    25  	mock *MockTokenStore
    26  }
    27  
    28  // NewMockTokenStore creates a new mock instance.
    29  func NewMockTokenStore(ctrl *gomock.Controller) *MockTokenStore {
    30  	mock := &MockTokenStore{ctrl: ctrl}
    31  	mock.recorder = &MockTokenStoreMockRecorder{mock}
    32  	return mock
    33  }
    34  
    35  // EXPECT returns an object that allows the caller to indicate expected use.
    36  func (m *MockTokenStore) EXPECT() *MockTokenStoreMockRecorder {
    37  	return m.recorder
    38  }
    39  
    40  // Pop mocks base method.
    41  func (m *MockTokenStore) Pop(arg0 string) *ClientToken {
    42  	m.ctrl.T.Helper()
    43  	ret := m.ctrl.Call(m, "Pop", arg0)
    44  	ret0, _ := ret[0].(*ClientToken)
    45  	return ret0
    46  }
    47  
    48  // Pop indicates an expected call of Pop.
    49  func (mr *MockTokenStoreMockRecorder) Pop(arg0 any) *gomock.Call {
    50  	mr.mock.ctrl.T.Helper()
    51  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Pop", reflect.TypeOf((*MockTokenStore)(nil).Pop), arg0)
    52  }
    53  
    54  // Put mocks base method.
    55  func (m *MockTokenStore) Put(arg0 string, arg1 *ClientToken) {
    56  	m.ctrl.T.Helper()
    57  	m.ctrl.Call(m, "Put", arg0, arg1)
    58  }
    59  
    60  // Put indicates an expected call of Put.
    61  func (mr *MockTokenStoreMockRecorder) Put(arg0, arg1 any) *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockTokenStore)(nil).Put), arg0, arg1)
    64  }