Documentation ¶
Overview ¶
Package fixtures contains code for creating subscription 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 WithFailedCreateProfile ¶
func WithFailedCreateProfile(mock SubscriptionMock)
func WithFailedSubscribe ¶
func WithFailedSubscribe(mock SubscriptionMock)
func WithSuccessfulCreateProfile ¶
func WithSuccessfulCreateProfile(mock SubscriptionMock)
func WithSuccessfulSubscribe ¶
func WithSuccessfulSubscribe(mock SubscriptionMock)
Types ¶
type SubscriptionMock ¶
type SubscriptionMock = *mocksubscription.MockSubscriptionService
type SubscriptionMockBuilder ¶
type SubscriptionMockBuilder = func(*gomock.Controller) SubscriptionMock
func NewSubscriptionServiceMock ¶
func NewSubscriptionServiceMock(opts ...func(mock SubscriptionMock)) SubscriptionMockBuilder
Click to show internal directories.
Click to hide internal directories.