Files
atlantis/server/events/mocks/matchers/ptr_to_azuredevops_gitpullrequest.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
1.1 KiB
Go

// Code generated by pegomock. DO NOT EDIT.
package matchers
import (
"github.com/petergtz/pegomock"
"reflect"
azuredevops "github.com/mcdafydd/go-azuredevops/azuredevops"
)
func AnyPtrToAzuredevopsGitPullRequest() *azuredevops.GitPullRequest {
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*azuredevops.GitPullRequest))(nil)).Elem()))
var nullValue *azuredevops.GitPullRequest
return nullValue
}
func EqPtrToAzuredevopsGitPullRequest(value *azuredevops.GitPullRequest) *azuredevops.GitPullRequest {
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
var nullValue *azuredevops.GitPullRequest
return nullValue
}
func NotEqPtrToAzuredevopsGitPullRequest(value *azuredevops.GitPullRequest) *azuredevops.GitPullRequest {
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
var nullValue *azuredevops.GitPullRequest
return nullValue
}
func PtrToAzuredevopsGitPullRequestThat(matcher pegomock.ArgumentMatcher) *azuredevops.GitPullRequest {
pegomock.RegisterMatcher(matcher)
var nullValue *azuredevops.GitPullRequest
return nullValue
}