Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCurrencyRates ¶
type MockCurrencyRates struct {
// contains filtered or unexported fields
}
MockCurrencyRates is a mock of CurrencyRates interface.
func NewMockCurrencyRates ¶
func NewMockCurrencyRates(ctrl *gomock.Controller) *MockCurrencyRates
NewMockCurrencyRates creates a new mock instance.
func (*MockCurrencyRates) Convert ¶
func (m *MockCurrencyRates) Convert(amount currency.Amount, to currency.Code, date datetime.DateTime) (*currency.Amount, error)
Convert mocks base method.
func (*MockCurrencyRates) EXPECT ¶
func (m *MockCurrencyRates) EXPECT() *MockCurrencyRatesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCurrencyRatesMockRecorder ¶
type MockCurrencyRatesMockRecorder struct {
// contains filtered or unexported fields
}
MockCurrencyRatesMockRecorder is the mock recorder for MockCurrencyRates.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) GetAll ¶
func (mr *MockRepositoryMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
Directories
¶
Path | Synopsis |
---|---|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.