mock

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStripe

type MockStripe struct {
	// contains filtered or unexported fields
}

MockStripe is a mock of Stripe interface.

func NewMockStripe

func NewMockStripe(ctrl *gomock.Controller) *MockStripe

NewMockStripe creates a new mock instance.

func (*MockStripe) EXPECT

func (m *MockStripe) EXPECT() *MockStripeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStripe) GetEvent

func (m *MockStripe) GetEvent(createdAt int64, startingAfter, endingBefore string) (models.EventResponse, error)

GetEvent mocks base method.

func (*MockStripe) GetResource

func (m *MockStripe) GetResource(arg0 string) (models.ResourceResponse, error)

GetResource mocks base method.

type MockStripeMockRecorder

type MockStripeMockRecorder struct {
	// contains filtered or unexported fields
}

MockStripeMockRecorder is the mock recorder for MockStripe.

func (*MockStripeMockRecorder) GetEvent

func (mr *MockStripeMockRecorder) GetEvent(createdAt, startingAfter, endingBefore interface{}) *gomock.Call

GetEvent indicates an expected call of GetEvent.

func (*MockStripeMockRecorder) GetResource

func (mr *MockStripeMockRecorder) GetResource(arg0 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource.

Jump to

Keyboard shortcuts

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