github.com/web-platform-tests/wpt.fyi@v0.0.0-20240530210107-70cf978996f1/shared/sharedtest/fetch_bsf_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/web-platform-tests/wpt.fyi/shared (interfaces: FetchBSF)
     3  
     4  // Package sharedtest is a generated GoMock package.
     5  package sharedtest
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockFetchBSF is a mock of FetchBSF interface.
    14  type MockFetchBSF struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockFetchBSFMockRecorder
    17  }
    18  
    19  // MockFetchBSFMockRecorder is the mock recorder for MockFetchBSF.
    20  type MockFetchBSFMockRecorder struct {
    21  	mock *MockFetchBSF
    22  }
    23  
    24  // NewMockFetchBSF creates a new mock instance.
    25  func NewMockFetchBSF(ctrl *gomock.Controller) *MockFetchBSF {
    26  	mock := &MockFetchBSF{ctrl: ctrl}
    27  	mock.recorder = &MockFetchBSFMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockFetchBSF) EXPECT() *MockFetchBSFMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // Fetch mocks base method.
    37  func (m *MockFetchBSF) Fetch(arg0 bool) ([][]string, error) {
    38  	m.ctrl.T.Helper()
    39  	ret := m.ctrl.Call(m, "Fetch", arg0)
    40  	ret0, _ := ret[0].([][]string)
    41  	ret1, _ := ret[1].(error)
    42  	return ret0, ret1
    43  }
    44  
    45  // Fetch indicates an expected call of Fetch.
    46  func (mr *MockFetchBSFMockRecorder) Fetch(arg0 interface{}) *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockFetchBSF)(nil).Fetch), arg0)
    49  }