mock_ynab

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_ynab is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetBudgets

func (m *MockClient) GetBudgets() ([]*model.Budget, error)

GetBudgets mocks base method.

func (*MockClient) GetCategories

func (m *MockClient) GetCategories(budget *model.Budget) ([]*model.BudgetCategoryGroup, error)

GetCategories mocks base method.

func (*MockClient) GetMonthlyAverageSpent

func (m *MockClient) GetMonthlyAverageSpent(budget *model.Budget, category *model.BudgetCategory, monthLookback int) (int64, int16, error)

GetMonthlyAverageSpent mocks base method.

func (*MockClient) GetReadyToAssign

func (m *MockClient) GetReadyToAssign(budget *model.Budget) (int64, int16, error)

GetReadyToAssign mocks base method.

func (*MockClient) SetBudget

func (m *MockClient) SetBudget(budget *model.Budget, category *model.BudgetCategory, newDollars int64, newCents int16) error

SetBudget mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetBudgets

func (mr *MockClientMockRecorder) GetBudgets() *gomock.Call

GetBudgets indicates an expected call of GetBudgets.

func (*MockClientMockRecorder) GetCategories

func (mr *MockClientMockRecorder) GetCategories(budget interface{}) *gomock.Call

GetCategories indicates an expected call of GetCategories.

func (*MockClientMockRecorder) GetMonthlyAverageSpent

func (mr *MockClientMockRecorder) GetMonthlyAverageSpent(budget, category, monthLookback interface{}) *gomock.Call

GetMonthlyAverageSpent indicates an expected call of GetMonthlyAverageSpent.

func (*MockClientMockRecorder) GetReadyToAssign

func (mr *MockClientMockRecorder) GetReadyToAssign(budget interface{}) *gomock.Call

GetReadyToAssign indicates an expected call of GetReadyToAssign.

func (*MockClientMockRecorder) SetBudget

func (mr *MockClientMockRecorder) SetBudget(budget, category, newDollars, newCents interface{}) *gomock.Call

SetBudget indicates an expected call of SetBudget.

Jump to

Keyboard shortcuts

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