Files
atlantis/server/events/mocks/matchers/ptr_to_github_pullrequest.go
Ken Kaizu 27b9897517 chore(build): rm pegomock experimental feature for smooth mock generation (#2886)
* disable pegomock --use-experimental-model-gen, cause random fail by segv

* make regen-mocks

* fix mock code which uses non experimental pegomock codes
2022-12-27 19:58:15 -06:00

34 lines
958 B
Go

// Code generated by pegomock. DO NOT EDIT.
package matchers
import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v48/github"
)
func AnyPtrToGithubPullRequest() *github.PullRequest {
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*github.PullRequest))(nil)).Elem()))
var nullValue *github.PullRequest
return nullValue
}
func EqPtrToGithubPullRequest(value *github.PullRequest) *github.PullRequest {
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
var nullValue *github.PullRequest
return nullValue
}
func NotEqPtrToGithubPullRequest(value *github.PullRequest) *github.PullRequest {
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
var nullValue *github.PullRequest
return nullValue
}
func PtrToGithubPullRequestThat(matcher pegomock.ArgumentMatcher) *github.PullRequest {
pegomock.RegisterMatcher(matcher)
var nullValue *github.PullRequest
return nullValue
}