fixtures

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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 SubscriptionMockBuilder

type SubscriptionMockBuilder = func(*gomock.Controller) SubscriptionMock

func NewSubscriptionServiceMock

func NewSubscriptionServiceMock(opts ...func(mock SubscriptionMock)) SubscriptionMockBuilder

Jump to

Keyboard shortcuts

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