Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t testing.TB) *Repository
NewRepository creates a new instance of Repository. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Repository) GetAll ¶
func (_m *Repository) GetAll(ctx context.Context, userId uuid.UUID) (examination.ExaminationList, error)
GetAll provides a mock function with given fields: ctx, userId
func (*Repository) Save ¶
func (_m *Repository) Save(ctx context.Context, exam examination.Examination) error
Save provides a mock function with given fields: ctx, exam
Click to show internal directories.
Click to hide internal directories.