github.com/quic-go/quic-go@v0.44.0/internal/mocks/congestion.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/quic-go/quic-go/internal/congestion (interfaces: SendAlgorithmWithDebugInfos)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -typed -build_flags=-tags=gomock -package mocks -destination congestion.go github.com/quic-go/quic-go/internal/congestion SendAlgorithmWithDebugInfos
     7  //
     8  
     9  // Package mocks is a generated GoMock package.
    10  package mocks
    11  
    12  import (
    13  	reflect "reflect"
    14  	time "time"
    15  
    16  	protocol "github.com/quic-go/quic-go/internal/protocol"
    17  	gomock "go.uber.org/mock/gomock"
    18  )
    19  
    20  // MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface.
    21  type MockSendAlgorithmWithDebugInfos struct {
    22  	ctrl     *gomock.Controller
    23  	recorder *MockSendAlgorithmWithDebugInfosMockRecorder
    24  }
    25  
    26  // MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos.
    27  type MockSendAlgorithmWithDebugInfosMockRecorder struct {
    28  	mock *MockSendAlgorithmWithDebugInfos
    29  }
    30  
    31  // NewMockSendAlgorithmWithDebugInfos creates a new mock instance.
    32  func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos {
    33  	mock := &MockSendAlgorithmWithDebugInfos{ctrl: ctrl}
    34  	mock.recorder = &MockSendAlgorithmWithDebugInfosMockRecorder{mock}
    35  	return mock
    36  }
    37  
    38  // EXPECT returns an object that allows the caller to indicate expected use.
    39  func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder {
    40  	return m.recorder
    41  }
    42  
    43  // CanSend mocks base method.
    44  func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool {
    45  	m.ctrl.T.Helper()
    46  	ret := m.ctrl.Call(m, "CanSend", arg0)
    47  	ret0, _ := ret[0].(bool)
    48  	return ret0
    49  }
    50  
    51  // CanSend indicates an expected call of CanSend.
    52  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 any) *MockSendAlgorithmWithDebugInfosCanSendCall {
    53  	mr.mock.ctrl.T.Helper()
    54  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanSend", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).CanSend), arg0)
    55  	return &MockSendAlgorithmWithDebugInfosCanSendCall{Call: call}
    56  }
    57  
    58  // MockSendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call
    59  type MockSendAlgorithmWithDebugInfosCanSendCall struct {
    60  	*gomock.Call
    61  }
    62  
    63  // Return rewrite *gomock.Call.Return
    64  func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosCanSendCall {
    65  	c.Call = c.Call.Return(arg0)
    66  	return c
    67  }
    68  
    69  // Do rewrite *gomock.Call.Do
    70  func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Do(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall {
    71  	c.Call = c.Call.Do(f)
    72  	return c
    73  }
    74  
    75  // DoAndReturn rewrite *gomock.Call.DoAndReturn
    76  func (c *MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall {
    77  	c.Call = c.Call.DoAndReturn(f)
    78  	return c
    79  }
    80  
    81  // GetCongestionWindow mocks base method.
    82  func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount {
    83  	m.ctrl.T.Helper()
    84  	ret := m.ctrl.Call(m, "GetCongestionWindow")
    85  	ret0, _ := ret[0].(protocol.ByteCount)
    86  	return ret0
    87  }
    88  
    89  // GetCongestionWindow indicates an expected call of GetCongestionWindow.
    90  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall {
    91  	mr.mock.ctrl.T.Helper()
    92  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCongestionWindow", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).GetCongestionWindow))
    93  	return &MockSendAlgorithmWithDebugInfosGetCongestionWindowCall{Call: call}
    94  }
    95  
    96  // MockSendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call
    97  type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall struct {
    98  	*gomock.Call
    99  }
   100  
   101  // Return rewrite *gomock.Call.Return
   102  func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return(arg0 protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall {
   103  	c.Call = c.Call.Return(arg0)
   104  	return c
   105  }
   106  
   107  // Do rewrite *gomock.Call.Do
   108  func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall {
   109  	c.Call = c.Call.Do(f)
   110  	return c
   111  }
   112  
   113  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   114  func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall {
   115  	c.Call = c.Call.DoAndReturn(f)
   116  	return c
   117  }
   118  
   119  // HasPacingBudget mocks base method.
   120  func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget(arg0 time.Time) bool {
   121  	m.ctrl.T.Helper()
   122  	ret := m.ctrl.Call(m, "HasPacingBudget", arg0)
   123  	ret0, _ := ret[0].(bool)
   124  	return ret0
   125  }
   126  
   127  // HasPacingBudget indicates an expected call of HasPacingBudget.
   128  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget(arg0 any) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall {
   129  	mr.mock.ctrl.T.Helper()
   130  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasPacingBudget", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).HasPacingBudget), arg0)
   131  	return &MockSendAlgorithmWithDebugInfosHasPacingBudgetCall{Call: call}
   132  }
   133  
   134  // MockSendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call
   135  type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall struct {
   136  	*gomock.Call
   137  }
   138  
   139  // Return rewrite *gomock.Call.Return
   140  func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall {
   141  	c.Call = c.Call.Return(arg0)
   142  	return c
   143  }
   144  
   145  // Do rewrite *gomock.Call.Do
   146  func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall {
   147  	c.Call = c.Call.Do(f)
   148  	return c
   149  }
   150  
   151  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   152  func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall {
   153  	c.Call = c.Call.DoAndReturn(f)
   154  	return c
   155  }
   156  
   157  // InRecovery mocks base method.
   158  func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool {
   159  	m.ctrl.T.Helper()
   160  	ret := m.ctrl.Call(m, "InRecovery")
   161  	ret0, _ := ret[0].(bool)
   162  	return ret0
   163  }
   164  
   165  // InRecovery indicates an expected call of InRecovery.
   166  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *MockSendAlgorithmWithDebugInfosInRecoveryCall {
   167  	mr.mock.ctrl.T.Helper()
   168  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InRecovery", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).InRecovery))
   169  	return &MockSendAlgorithmWithDebugInfosInRecoveryCall{Call: call}
   170  }
   171  
   172  // MockSendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call
   173  type MockSendAlgorithmWithDebugInfosInRecoveryCall struct {
   174  	*gomock.Call
   175  }
   176  
   177  // Return rewrite *gomock.Call.Return
   178  func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall {
   179  	c.Call = c.Call.Return(arg0)
   180  	return c
   181  }
   182  
   183  // Do rewrite *gomock.Call.Do
   184  func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall {
   185  	c.Call = c.Call.Do(f)
   186  	return c
   187  }
   188  
   189  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   190  func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall {
   191  	c.Call = c.Call.DoAndReturn(f)
   192  	return c
   193  }
   194  
   195  // InSlowStart mocks base method.
   196  func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool {
   197  	m.ctrl.T.Helper()
   198  	ret := m.ctrl.Call(m, "InSlowStart")
   199  	ret0, _ := ret[0].(bool)
   200  	return ret0
   201  }
   202  
   203  // InSlowStart indicates an expected call of InSlowStart.
   204  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *MockSendAlgorithmWithDebugInfosInSlowStartCall {
   205  	mr.mock.ctrl.T.Helper()
   206  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InSlowStart", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).InSlowStart))
   207  	return &MockSendAlgorithmWithDebugInfosInSlowStartCall{Call: call}
   208  }
   209  
   210  // MockSendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call
   211  type MockSendAlgorithmWithDebugInfosInSlowStartCall struct {
   212  	*gomock.Call
   213  }
   214  
   215  // Return rewrite *gomock.Call.Return
   216  func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall {
   217  	c.Call = c.Call.Return(arg0)
   218  	return c
   219  }
   220  
   221  // Do rewrite *gomock.Call.Do
   222  func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall {
   223  	c.Call = c.Call.Do(f)
   224  	return c
   225  }
   226  
   227  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   228  func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall {
   229  	c.Call = c.Call.DoAndReturn(f)
   230  	return c
   231  }
   232  
   233  // MaybeExitSlowStart mocks base method.
   234  func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart() {
   235  	m.ctrl.T.Helper()
   236  	m.ctrl.Call(m, "MaybeExitSlowStart")
   237  }
   238  
   239  // MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart.
   240  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall {
   241  	mr.mock.ctrl.T.Helper()
   242  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaybeExitSlowStart", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).MaybeExitSlowStart))
   243  	return &MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall{Call: call}
   244  }
   245  
   246  // MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call
   247  type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall struct {
   248  	*gomock.Call
   249  }
   250  
   251  // Return rewrite *gomock.Call.Return
   252  func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall {
   253  	c.Call = c.Call.Return()
   254  	return c
   255  }
   256  
   257  // Do rewrite *gomock.Call.Do
   258  func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall {
   259  	c.Call = c.Call.Do(f)
   260  	return c
   261  }
   262  
   263  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   264  func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall {
   265  	c.Call = c.Call.DoAndReturn(f)
   266  	return c
   267  }
   268  
   269  // OnCongestionEvent mocks base method.
   270  func (m *MockSendAlgorithmWithDebugInfos) OnCongestionEvent(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount) {
   271  	m.ctrl.T.Helper()
   272  	m.ctrl.Call(m, "OnCongestionEvent", arg0, arg1, arg2)
   273  }
   274  
   275  // OnCongestionEvent indicates an expected call of OnCongestionEvent.
   276  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent(arg0, arg1, arg2 any) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall {
   277  	mr.mock.ctrl.T.Helper()
   278  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnCongestionEvent", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).OnCongestionEvent), arg0, arg1, arg2)
   279  	return &MockSendAlgorithmWithDebugInfosOnCongestionEventCall{Call: call}
   280  }
   281  
   282  // MockSendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call
   283  type MockSendAlgorithmWithDebugInfosOnCongestionEventCall struct {
   284  	*gomock.Call
   285  }
   286  
   287  // Return rewrite *gomock.Call.Return
   288  func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return() *MockSendAlgorithmWithDebugInfosOnCongestionEventCall {
   289  	c.Call = c.Call.Return()
   290  	return c
   291  }
   292  
   293  // Do rewrite *gomock.Call.Do
   294  func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall {
   295  	c.Call = c.Call.Do(f)
   296  	return c
   297  }
   298  
   299  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   300  func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall {
   301  	c.Call = c.Call.DoAndReturn(f)
   302  	return c
   303  }
   304  
   305  // OnPacketAcked mocks base method.
   306  func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time) {
   307  	m.ctrl.T.Helper()
   308  	m.ctrl.Call(m, "OnPacketAcked", arg0, arg1, arg2, arg3)
   309  }
   310  
   311  // OnPacketAcked indicates an expected call of OnPacketAcked.
   312  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 any) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall {
   313  	mr.mock.ctrl.T.Helper()
   314  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnPacketAcked", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).OnPacketAcked), arg0, arg1, arg2, arg3)
   315  	return &MockSendAlgorithmWithDebugInfosOnPacketAckedCall{Call: call}
   316  }
   317  
   318  // MockSendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call
   319  type MockSendAlgorithmWithDebugInfosOnPacketAckedCall struct {
   320  	*gomock.Call
   321  }
   322  
   323  // Return rewrite *gomock.Call.Return
   324  func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketAckedCall {
   325  	c.Call = c.Call.Return()
   326  	return c
   327  }
   328  
   329  // Do rewrite *gomock.Call.Do
   330  func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall {
   331  	c.Call = c.Call.Do(f)
   332  	return c
   333  }
   334  
   335  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   336  func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall {
   337  	c.Call = c.Call.DoAndReturn(f)
   338  	return c
   339  }
   340  
   341  // OnPacketSent mocks base method.
   342  func (m *MockSendAlgorithmWithDebugInfos) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, arg3 protocol.ByteCount, arg4 bool) {
   343  	m.ctrl.T.Helper()
   344  	m.ctrl.Call(m, "OnPacketSent", arg0, arg1, arg2, arg3, arg4)
   345  }
   346  
   347  // OnPacketSent indicates an expected call of OnPacketSent.
   348  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 any) *MockSendAlgorithmWithDebugInfosOnPacketSentCall {
   349  	mr.mock.ctrl.T.Helper()
   350  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnPacketSent", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).OnPacketSent), arg0, arg1, arg2, arg3, arg4)
   351  	return &MockSendAlgorithmWithDebugInfosOnPacketSentCall{Call: call}
   352  }
   353  
   354  // MockSendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call
   355  type MockSendAlgorithmWithDebugInfosOnPacketSentCall struct {
   356  	*gomock.Call
   357  }
   358  
   359  // Return rewrite *gomock.Call.Return
   360  func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketSentCall {
   361  	c.Call = c.Call.Return()
   362  	return c
   363  }
   364  
   365  // Do rewrite *gomock.Call.Do
   366  func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *MockSendAlgorithmWithDebugInfosOnPacketSentCall {
   367  	c.Call = c.Call.Do(f)
   368  	return c
   369  }
   370  
   371  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   372  func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *MockSendAlgorithmWithDebugInfosOnPacketSentCall {
   373  	c.Call = c.Call.DoAndReturn(f)
   374  	return c
   375  }
   376  
   377  // OnRetransmissionTimeout mocks base method.
   378  func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool) {
   379  	m.ctrl.T.Helper()
   380  	m.ctrl.Call(m, "OnRetransmissionTimeout", arg0)
   381  }
   382  
   383  // OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout.
   384  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 any) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall {
   385  	mr.mock.ctrl.T.Helper()
   386  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnRetransmissionTimeout", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).OnRetransmissionTimeout), arg0)
   387  	return &MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall{Call: call}
   388  }
   389  
   390  // MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call
   391  type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall struct {
   392  	*gomock.Call
   393  }
   394  
   395  // Return rewrite *gomock.Call.Return
   396  func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return() *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall {
   397  	c.Call = c.Call.Return()
   398  	return c
   399  }
   400  
   401  // Do rewrite *gomock.Call.Do
   402  func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall {
   403  	c.Call = c.Call.Do(f)
   404  	return c
   405  }
   406  
   407  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   408  func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall {
   409  	c.Call = c.Call.DoAndReturn(f)
   410  	return c
   411  }
   412  
   413  // SetMaxDatagramSize mocks base method.
   414  func (m *MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize(arg0 protocol.ByteCount) {
   415  	m.ctrl.T.Helper()
   416  	m.ctrl.Call(m, "SetMaxDatagramSize", arg0)
   417  }
   418  
   419  // SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.
   420  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize(arg0 any) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall {
   421  	mr.mock.ctrl.T.Helper()
   422  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxDatagramSize", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).SetMaxDatagramSize), arg0)
   423  	return &MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall{Call: call}
   424  }
   425  
   426  // MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call
   427  type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall struct {
   428  	*gomock.Call
   429  }
   430  
   431  // Return rewrite *gomock.Call.Return
   432  func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return() *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall {
   433  	c.Call = c.Call.Return()
   434  	return c
   435  }
   436  
   437  // Do rewrite *gomock.Call.Do
   438  func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall {
   439  	c.Call = c.Call.Do(f)
   440  	return c
   441  }
   442  
   443  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   444  func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall {
   445  	c.Call = c.Call.DoAndReturn(f)
   446  	return c
   447  }
   448  
   449  // TimeUntilSend mocks base method.
   450  func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time {
   451  	m.ctrl.T.Helper()
   452  	ret := m.ctrl.Call(m, "TimeUntilSend", arg0)
   453  	ret0, _ := ret[0].(time.Time)
   454  	return ret0
   455  }
   456  
   457  // TimeUntilSend indicates an expected call of TimeUntilSend.
   458  func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 any) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall {
   459  	mr.mock.ctrl.T.Helper()
   460  	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TimeUntilSend", reflect.TypeOf((*MockSendAlgorithmWithDebugInfos)(nil).TimeUntilSend), arg0)
   461  	return &MockSendAlgorithmWithDebugInfosTimeUntilSendCall{Call: call}
   462  }
   463  
   464  // MockSendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call
   465  type MockSendAlgorithmWithDebugInfosTimeUntilSendCall struct {
   466  	*gomock.Call
   467  }
   468  
   469  // Return rewrite *gomock.Call.Return
   470  func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return(arg0 time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall {
   471  	c.Call = c.Call.Return(arg0)
   472  	return c
   473  }
   474  
   475  // Do rewrite *gomock.Call.Do
   476  func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall {
   477  	c.Call = c.Call.Do(f)
   478  	return c
   479  }
   480  
   481  // DoAndReturn rewrite *gomock.Call.DoAndReturn
   482  func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall {
   483  	c.Call = c.Call.DoAndReturn(f)
   484  	return c
   485  }