Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
MockRepository is an autogenerated mock type for the Repository type
func NewMockRepository ¶
func NewMockRepository(t interface { mock.TestingT Cleanup(func()) }) *MockRepository
NewMockRepository creates a new instance of MockRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockRepository) GetByMedicalID ¶
func (_m *MockRepository) GetByMedicalID(ctx context.Context, medicalID string, userIdToIgnore uint) (*entities.Doctor, error)
GetByMedicalID provides a mock function with given fields: ctx, medicalID, userIdToIgnore
Click to show internal directories.
Click to hide internal directories.