Files
atlantis/server/events/mocks/matchers/ptr_to_azuredevops_gitpullrequest.go
Sarvar Muminov 90e92e3a13 chore: move CommandContext and CommandResult to models (#193) (#2093)
* Moved CommandContext and CommandResult to models (#193)

* Moved CommandContext and CommandResult to models

* move from models to command

rename CommandContext -> Context
rename CommandResult -> Result

* moved command related helpers into command package

* move ProjectCommandContext and ProjectResult to command/project package

* move project command context and project result

* revert unrelated code

* move tests

* fix left over

* fix linting

* fix tests

* remove unused import

* fix project context dependencies

* fix depenedecies

* fix typo
2022-03-21 10:36:13 -07:00

35 lines
1.1 KiB
Go

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