SetDefaultReturn calls SetDefaultHook with a function that returns the given values.
(r0 *database.User, r1 error)
| 613 | // SetDefaultReturn calls SetDefaultHook with a function that returns the |
| 614 | // given values. |
| 615 | func (f *StoreCreateUserFunc) SetDefaultReturn(r0 *database.User, r1 error) { |
| 616 | f.SetDefaultHook(func(context.Context, string, string, database.CreateUserOptions) (*database.User, error) { |
| 617 | return r0, r1 |
| 618 | }) |
| 619 | } |
| 620 | |
| 621 | // PushReturn calls PushHook with a function that returns the given values. |
| 622 | func (f *StoreCreateUserFunc) PushReturn(r0 *database.User, r1 error) { |
no test coverage detected