Documentation ¶
Overview ¶
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. For testing use only.
Index ¶
- func WithFailedCreateSubscriptionProfile(mock ProfileSvcMock)
- func WithFailedUpdateSubscriptionProfile(mock ProfileSvcMock)
- func WithSuccessfulCreateSubscriptionProfile(mock ProfileSvcMock)
- func WithSuccessfulUpdateSubscriptionProfile(mock ProfileSvcMock)
- type ProfileSvcMock
- type ProfileSvcMockBuilder
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
Click to show internal directories.
Click to hide internal directories.