Files
atlantis/server/events/mocks/matchers/ptr_to_github_pullrequest.go
2020-05-25 11:58:50 -07:00

21 lines
576 B
Go

// Code generated by pegomock. DO NOT EDIT.
package matchers
import (
"reflect"
"github.com/petergtz/pegomock"
github "github.com/google/go-github/v28/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
}