fixtures

package
v0.0.81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. For testing use only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFailedCreateSubscriptionProfile

func WithFailedCreateSubscriptionProfile(mock ProfileSvcMock)

func WithFailedUpdateSubscriptionProfile

func WithFailedUpdateSubscriptionProfile(mock ProfileSvcMock)

func WithSuccessfulCreateSubscriptionProfile

func WithSuccessfulCreateSubscriptionProfile(mock ProfileSvcMock)

func WithSuccessfulUpdateSubscriptionProfile

func WithSuccessfulUpdateSubscriptionProfile(mock ProfileSvcMock)

Types

type ProfileSvcMock

type ProfileSvcMock = *mockprofsvc.MockProfileService

type ProfileSvcMockBuilder

type ProfileSvcMockBuilder = func(*gomock.Controller) ProfileSvcMock

func NewProfileServiceMock

func NewProfileServiceMock(opts ...func(mock ProfileSvcMock)) ProfileSvcMockBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL