INNER CODE UNIT · Go
func
zopdev/helm-charts · charts-lint/github/mock_interface.go:40
func (m *MockPullRequest) EXPECT() *MockPullRequestMockRecorder {
return m.recorder
}
// ListFiles mocks base method.
func (m *MockPullRequest) ListFiles(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListFiles", ctx, owner, repo, number, opts)
ret0, _ := ret[0].([]*github.CommitFile)
ret1, _ := ret[1].(*github.Response)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// ListFiles indicates an expected call of ListFiles.
func (mr *MockPullRequestMockRecorder) ListFiles(ctx, owner, repo, number, opts any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListFiles", reflect.TypeOf((*MockPullRequest)(nil).ListFiles), ctx, owner, repo, number, opts)