fakes

package
v0.0.0-...-b097151 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeUpdater

type FakeUpdater struct {
	ApplyUpdateStub func(*updater.Update) error

	GetUpdateIfExistsStub func(string) (*updater.Update, error)
	// contains filtered or unexported fields
}

func (*FakeUpdater) ApplyUpdate

func (fake *FakeUpdater) ApplyUpdate(arg1 *updater.Update) error

func (*FakeUpdater) ApplyUpdateArgsForCall

func (fake *FakeUpdater) ApplyUpdateArgsForCall(i int) *updater.Update

func (*FakeUpdater) ApplyUpdateCallCount

func (fake *FakeUpdater) ApplyUpdateCallCount() int

func (*FakeUpdater) ApplyUpdateCalls

func (fake *FakeUpdater) ApplyUpdateCalls(stub func(*updater.Update) error)

func (*FakeUpdater) ApplyUpdateReturns

func (fake *FakeUpdater) ApplyUpdateReturns(result1 error)

func (*FakeUpdater) ApplyUpdateReturnsOnCall

func (fake *FakeUpdater) ApplyUpdateReturnsOnCall(i int, result1 error)

func (*FakeUpdater) GetUpdateIfExists

func (fake *FakeUpdater) GetUpdateIfExists(arg1 string) (*updater.Update, error)

func (*FakeUpdater) GetUpdateIfExistsArgsForCall

func (fake *FakeUpdater) GetUpdateIfExistsArgsForCall(i int) string

func (*FakeUpdater) GetUpdateIfExistsCallCount

func (fake *FakeUpdater) GetUpdateIfExistsCallCount() int

func (*FakeUpdater) GetUpdateIfExistsCalls

func (fake *FakeUpdater) GetUpdateIfExistsCalls(stub func(string) (*updater.Update, error))

func (*FakeUpdater) GetUpdateIfExistsReturns

func (fake *FakeUpdater) GetUpdateIfExistsReturns(result1 *updater.Update, result2 error)

func (*FakeUpdater) GetUpdateIfExistsReturnsOnCall

func (fake *FakeUpdater) GetUpdateIfExistsReturnsOnCall(i int, result1 *updater.Update, result2 error)

func (*FakeUpdater) Invocations

func (fake *FakeUpdater) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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