Documentation ¶
Overview ¶
Package mock_exchange is a generated GoMock package.
Package mock_exchange is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExchangeRepository ¶
type MockExchangeRepository struct {
// contains filtered or unexported fields
}
MockExchangeRepository is a mock of ExchangeRepository interface
func NewMockExchangeRepository ¶
func NewMockExchangeRepository(ctrl *gomock.Controller) *MockExchangeRepository
NewMockExchangeRepository creates a new mock instance
func (*MockExchangeRepository) EXPECT ¶
func (m *MockExchangeRepository) EXPECT() *MockExchangeRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExchangeRepository) Index ¶
func (m *MockExchangeRepository) Index(ctx context.Context) (*exchange.ExchangeRates, error)
Index mocks base method
type MockExchangeRepositoryMockRecorder ¶
type MockExchangeRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockExchangeRepositoryMockRecorder is the mock recorder for MockExchangeRepository
func (*MockExchangeRepositoryMockRecorder) Index ¶
func (mr *MockExchangeRepositoryMockRecorder) Index(ctx interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockExchangeRepositoryMockRecorder) Show ¶
func (mr *MockExchangeRepositoryMockRecorder) Show(ctx, currency interface{}) *gomock.Call
Show indicates an expected call of Show
type MockExchangeService ¶
type MockExchangeService struct {
// contains filtered or unexported fields
}
MockExchangeService is a mock of ExchangeService interface
func NewMockExchangeService ¶
func NewMockExchangeService(ctrl *gomock.Controller) *MockExchangeService
NewMockExchangeService creates a new mock instance
func (*MockExchangeService) EXPECT ¶
func (m *MockExchangeService) EXPECT() *MockExchangeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExchangeService) Index ¶
func (m *MockExchangeService) Index(ctx context.Context) (*exchange.ExchangeRates, error)
Index mocks base method
type MockExchangeServiceMockRecorder ¶
type MockExchangeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockExchangeServiceMockRecorder is the mock recorder for MockExchangeService
func (*MockExchangeServiceMockRecorder) Index ¶
func (mr *MockExchangeServiceMockRecorder) Index(ctx interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockExchangeServiceMockRecorder) Show ¶
func (mr *MockExchangeServiceMockRecorder) Show(ctx, baseCurrency, currency interface{}) *gomock.Call
Show indicates an expected call of Show