Documentation ¶
Overview ¶
Package repository is a generated GoMock package.
Index ¶
- type MockHistoryRepository
- func (m *MockHistoryRepository) ClearAndSaveAll(history []entity.History) error
- func (m *MockHistoryRepository) EXPECT() *MockHistoryRepositoryMockRecorder
- func (m *MockHistoryRepository) FindAll() ([]entity.History, error)
- func (m *MockHistoryRepository) FindAllByFigis(figis []string) ([]entity.History, error)
- type MockHistoryRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHistoryRepository ¶
type MockHistoryRepository struct {
// contains filtered or unexported fields
}
MockHistoryRepository is a mock of HistoryRepository interface.
func NewMockHistoryRepository ¶
func NewMockHistoryRepository(ctrl *gomock.Controller) *MockHistoryRepository
NewMockHistoryRepository creates a new mock instance.
func (*MockHistoryRepository) ClearAndSaveAll ¶
func (m *MockHistoryRepository) ClearAndSaveAll(history []entity.History) error
ClearAndSaveAll mocks base method.
func (*MockHistoryRepository) EXPECT ¶
func (m *MockHistoryRepository) EXPECT() *MockHistoryRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHistoryRepository) FindAll ¶
func (m *MockHistoryRepository) FindAll() ([]entity.History, error)
FindAll mocks base method.
func (*MockHistoryRepository) FindAllByFigis ¶
func (m *MockHistoryRepository) FindAllByFigis(figis []string) ([]entity.History, error)
FindAllByFigis mocks base method.
type MockHistoryRepositoryMockRecorder ¶
type MockHistoryRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockHistoryRepositoryMockRecorder is the mock recorder for MockHistoryRepository.
func (*MockHistoryRepositoryMockRecorder) ClearAndSaveAll ¶
func (mr *MockHistoryRepositoryMockRecorder) ClearAndSaveAll(history interface{}) *gomock.Call
ClearAndSaveAll indicates an expected call of ClearAndSaveAll.
func (*MockHistoryRepositoryMockRecorder) FindAll ¶
func (mr *MockHistoryRepositoryMockRecorder) FindAll() *gomock.Call
FindAll indicates an expected call of FindAll.
func (*MockHistoryRepositoryMockRecorder) FindAllByFigis ¶
func (mr *MockHistoryRepositoryMockRecorder) FindAllByFigis(figis interface{}) *gomock.Call
FindAllByFigis indicates an expected call of FindAllByFigis.
Click to show internal directories.
Click to hide internal directories.