Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleAuthClient ¶
GoogleAuthClient is an autogenerated mock type for the GoogleAuthClient type
func NewGoogleAuthClient ¶
func NewGoogleAuthClient(t testing.TB) *GoogleAuthClient
NewGoogleAuthClient creates a new instance of GoogleAuthClient. It also registers a cleanup function to assert the mocks expectations.
func (*GoogleAuthClient) RetrieveAccessToken ¶
func (_m *GoogleAuthClient) RetrieveAccessToken(ctx context.Context, code string) (*service.GoogleAuthResponse, error)
RetrieveAccessToken provides a mock function with given fields: ctx, code
func (*GoogleAuthClient) RetrieveUserInfo ¶
func (_m *GoogleAuthClient) RetrieveUserInfo(ctx context.Context, googleAuthResponse *service.GoogleAuthResponse) (*service.GoogleUserInfo, error)
RetrieveUserInfo provides a mock function with given fields: ctx, googleAuthResponse
type Transaction ¶
Transaction is an autogenerated mock type for the Transaction type
func NewTransaction ¶
func NewTransaction(t testing.TB) *Transaction
NewTransaction creates a new instance of Transaction. It also registers a cleanup function to assert the mocks expectations.
func (*Transaction) Do ¶
func (_m *Transaction) Do(ctx context.Context, fn func(service.RepositoryFactory) error) error
Do provides a mock function with given fields: ctx, fn
Click to show internal directories.
Click to hide internal directories.