github.com/cloudwego/kitex@v0.9.0/internal/mocks/utils/sharedticker.go (about)

     1  /*
     2   * Copyright 2022 CloudWeGo Authors
     3   *
     4   * Licensed under the Apache License, Version 2.0 (the "License");
     5   * you may not use this file except in compliance with the License.
     6   * You may obtain a copy of the License at
     7   *
     8   *     http://www.apache.org/licenses/LICENSE-2.0
     9   *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13   * See the License for the specific language governing permissions and
    14   * limitations under the License.
    15  */
    16  
    17  
    18  // Code generated by MockGen. DO NOT EDIT.
    19  // Source: ../../pkg/utils/sharedticker.go
    20  
    21  // Package utils is a generated GoMock package.
    22  package utils
    23  
    24  import (
    25  	reflect "reflect"
    26  
    27  	gomock "github.com/golang/mock/gomock"
    28  )
    29  
    30  // MockTickerTask is a mock of TickerTask interface.
    31  type MockTickerTask struct {
    32  	ctrl     *gomock.Controller
    33  	recorder *MockTickerTaskMockRecorder
    34  }
    35  
    36  // MockTickerTaskMockRecorder is the mock recorder for MockTickerTask.
    37  type MockTickerTaskMockRecorder struct {
    38  	mock *MockTickerTask
    39  }
    40  
    41  // NewMockTickerTask creates a new mock instance.
    42  func NewMockTickerTask(ctrl *gomock.Controller) *MockTickerTask {
    43  	mock := &MockTickerTask{ctrl: ctrl}
    44  	mock.recorder = &MockTickerTaskMockRecorder{mock}
    45  	return mock
    46  }
    47  
    48  // EXPECT returns an object that allows the caller to indicate expected use.
    49  func (m *MockTickerTask) EXPECT() *MockTickerTaskMockRecorder {
    50  	return m.recorder
    51  }
    52  
    53  // Tick mocks base method.
    54  func (m *MockTickerTask) Tick() {
    55  	m.ctrl.T.Helper()
    56  	m.ctrl.Call(m, "Tick")
    57  }
    58  
    59  // Tick indicates an expected call of Tick.
    60  func (mr *MockTickerTaskMockRecorder) Tick() *gomock.Call {
    61  	mr.mock.ctrl.T.Helper()
    62  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Tick", reflect.TypeOf((*MockTickerTask)(nil).Tick))
    63  }