Documentation ¶
Overview ¶
Package mock_ynab is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetBudgets() ([]*model.Budget, error)
- func (m *MockClient) GetCategories(budget *model.Budget) ([]*model.BudgetCategoryGroup, error)
- func (m *MockClient) GetMonthlyAverageSpent(budget *model.Budget, category *model.BudgetCategory, monthLookback int) (int64, int16, error)
- func (m *MockClient) GetReadyToAssign(budget *model.Budget) (int64, int16, error)
- func (m *MockClient) SetBudget(budget *model.Budget, category *model.BudgetCategory, newDollars int64, ...) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetBudgets() *gomock.Call
- func (mr *MockClientMockRecorder) GetCategories(budget interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetMonthlyAverageSpent(budget, category, monthLookback interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReadyToAssign(budget interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetBudget(budget, category, newDollars, newCents interface{}) *gomock.Call
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 ¶
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.