package mock import ( "testing" "git.christmann.info/LARA/zitadel-oidc/v3/pkg/oidc" op "git.christmann.info/LARA/zitadel-oidc/v3/pkg/op" gomock "github.com/golang/mock/gomock" ) func NewHasRedirectGlobs(t *testing.T) op.HasRedirectGlobs { return NewMockHasRedirectGlobs(gomock.NewController(t)) } func NewHasRedirectGlobsWithConfig(t *testing.T, uri []string, appType op.ApplicationType, responseTypes []oidc.ResponseType, devMode bool) op.HasRedirectGlobs { c := NewHasRedirectGlobs(t) m := c.(*MockHasRedirectGlobs) m.EXPECT().RedirectURIs().AnyTimes().Return(uri) m.EXPECT().RedirectURIGlobs().AnyTimes().Return(uri) m.EXPECT().ApplicationType().AnyTimes().Return(appType) m.EXPECT().ResponseTypes().AnyTimes().Return(responseTypes) m.EXPECT().DevMode().AnyTimes().Return(devMode) return c }