services_mocks

package
v0.0.0-...-fb78454 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Package services_mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeviceService

type MockDeviceService struct {
	// contains filtered or unexported fields
}

MockDeviceService is a mock of DeviceService interface.

func NewMockDeviceService

func NewMockDeviceService(ctrl *gomock.Controller) *MockDeviceService

NewMockDeviceService creates a new mock instance.

func (*MockDeviceService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDeviceService) GenerateRefreshToken

func (m *MockDeviceService) GenerateRefreshToken() string

GenerateRefreshToken mocks base method.

func (*MockDeviceService) GenerateUUID

func (m *MockDeviceService) GenerateUUID() string

GenerateUUID mocks base method.

func (*MockDeviceService) GetNewDeviceByUserUUIDAndIpAndUserAgent

func (m *MockDeviceService) GetNewDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 string) (repositories.Device, error)

GetNewDeviceByUserUUIDAndIpAndUserAgent mocks base method.

func (*MockDeviceService) GetNewRefreshDetailsByDevice

func (m *MockDeviceService) GetNewRefreshDetailsByDevice(arg0 repositories.Device) (repositories.Device, error)

GetNewRefreshDetailsByDevice mocks base method.

func (*MockDeviceService) GetOldDeviceByUserUUIDAndIpAndUserAgent

func (m *MockDeviceService) GetOldDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 string) repositories.Device

GetOldDeviceByUserUUIDAndIpAndUserAgent mocks base method.

type MockDeviceServiceMockRecorder

type MockDeviceServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockDeviceServiceMockRecorder is the mock recorder for MockDeviceService.

func (*MockDeviceServiceMockRecorder) GenerateRefreshToken

func (mr *MockDeviceServiceMockRecorder) GenerateRefreshToken() *gomock.Call

GenerateRefreshToken indicates an expected call of GenerateRefreshToken.

func (*MockDeviceServiceMockRecorder) GenerateUUID

func (mr *MockDeviceServiceMockRecorder) GenerateUUID() *gomock.Call

GenerateUUID indicates an expected call of GenerateUUID.

func (*MockDeviceServiceMockRecorder) GetNewDeviceByUserUUIDAndIpAndUserAgent

func (mr *MockDeviceServiceMockRecorder) GetNewDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 any) *gomock.Call

GetNewDeviceByUserUUIDAndIpAndUserAgent indicates an expected call of GetNewDeviceByUserUUIDAndIpAndUserAgent.

func (*MockDeviceServiceMockRecorder) GetNewRefreshDetailsByDevice

func (mr *MockDeviceServiceMockRecorder) GetNewRefreshDetailsByDevice(arg0 any) *gomock.Call

GetNewRefreshDetailsByDevice indicates an expected call of GetNewRefreshDetailsByDevice.

func (*MockDeviceServiceMockRecorder) GetOldDeviceByUserUUIDAndIpAndUserAgent

func (mr *MockDeviceServiceMockRecorder) GetOldDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 any) *gomock.Call

GetOldDeviceByUserUUIDAndIpAndUserAgent indicates an expected call of GetOldDeviceByUserUUIDAndIpAndUserAgent.

type MockMutableDeviceService

type MockMutableDeviceService struct {
	// contains filtered or unexported fields
}

MockMutableDeviceService is a mock of MutableDeviceService interface.

func NewMockMutableDeviceService

func NewMockMutableDeviceService(ctrl *gomock.Controller) *MockMutableDeviceService

NewMockMutableDeviceService creates a new mock instance.

func (*MockMutableDeviceService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockMutableDeviceServiceMockRecorder

type MockMutableDeviceServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMutableDeviceServiceMockRecorder is the mock recorder for MockMutableDeviceService.

type MockMutableNotificationService

type MockMutableNotificationService struct {
	// contains filtered or unexported fields
}

MockMutableNotificationService is a mock of MutableNotificationService interface.

func NewMockMutableNotificationService

func NewMockMutableNotificationService(ctrl *gomock.Controller) *MockMutableNotificationService

NewMockMutableNotificationService creates a new mock instance.

func (*MockMutableNotificationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMutableNotificationService) SendTextByUser

func (m *MockMutableNotificationService) SendTextByUser(arg0 repositories.User, arg1 string) error

SendTextByUser mocks base method.

type MockMutableNotificationServiceMockRecorder

type MockMutableNotificationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMutableNotificationServiceMockRecorder is the mock recorder for MockMutableNotificationService.

func (*MockMutableNotificationServiceMockRecorder) SendTextByUser

func (mr *MockMutableNotificationServiceMockRecorder) SendTextByUser(arg0, arg1 any) *gomock.Call

SendTextByUser indicates an expected call of SendTextByUser.

type MockMutableResetTokenService

type MockMutableResetTokenService struct {
	// contains filtered or unexported fields
}

MockMutableResetTokenService is a mock of MutableResetTokenService interface.

func NewMockMutableResetTokenService

func NewMockMutableResetTokenService(ctrl *gomock.Controller) *MockMutableResetTokenService

NewMockMutableResetTokenService creates a new mock instance.

func (*MockMutableResetTokenService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMutableResetTokenService) SendNewResetTokenByUser

func (m *MockMutableResetTokenService) SendNewResetTokenByUser(arg0 repositories.User) error

SendNewResetTokenByUser mocks base method.

type MockMutableResetTokenServiceMockRecorder

type MockMutableResetTokenServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMutableResetTokenServiceMockRecorder is the mock recorder for MockMutableResetTokenService.

func (*MockMutableResetTokenServiceMockRecorder) SendNewResetTokenByUser

func (mr *MockMutableResetTokenServiceMockRecorder) SendNewResetTokenByUser(arg0 any) *gomock.Call

SendNewResetTokenByUser indicates an expected call of SendNewResetTokenByUser.

type MockMutableUserService

type MockMutableUserService struct {
	// contains filtered or unexported fields
}

MockMutableUserService is a mock of MutableUserService interface.

func NewMockMutableUserService

func NewMockMutableUserService(ctrl *gomock.Controller) *MockMutableUserService

NewMockMutableUserService creates a new mock instance.

func (*MockMutableUserService) CreateUserByUUIDAndEmailAndHashedPassword

func (m *MockMutableUserService) CreateUserByUUIDAndEmailAndHashedPassword(arg0, arg1, arg2 string) error

CreateUserByUUIDAndEmailAndHashedPassword mocks base method.

func (*MockMutableUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMutableUserService) UpdatePasswordByUUIDAndHashedPassword

func (m *MockMutableUserService) UpdatePasswordByUUIDAndHashedPassword(arg0, arg1 string) error

UpdatePasswordByUUIDAndHashedPassword mocks base method.

type MockMutableUserServiceMockRecorder

type MockMutableUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMutableUserServiceMockRecorder is the mock recorder for MockMutableUserService.

func (*MockMutableUserServiceMockRecorder) CreateUserByUUIDAndEmailAndHashedPassword

func (mr *MockMutableUserServiceMockRecorder) CreateUserByUUIDAndEmailAndHashedPassword(arg0, arg1, arg2 any) *gomock.Call

CreateUserByUUIDAndEmailAndHashedPassword indicates an expected call of CreateUserByUUIDAndEmailAndHashedPassword.

func (*MockMutableUserServiceMockRecorder) UpdatePasswordByUUIDAndHashedPassword

func (mr *MockMutableUserServiceMockRecorder) UpdatePasswordByUUIDAndHashedPassword(arg0, arg1 any) *gomock.Call

UpdatePasswordByUUIDAndHashedPassword indicates an expected call of UpdatePasswordByUUIDAndHashedPassword.

type MockNotificationService

type MockNotificationService struct {
	// contains filtered or unexported fields
}

MockNotificationService is a mock of NotificationService interface.

func NewMockNotificationService

func NewMockNotificationService(ctrl *gomock.Controller) *MockNotificationService

NewMockNotificationService creates a new mock instance.

func (*MockNotificationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotificationService) SendTextByUser

func (m *MockNotificationService) SendTextByUser(arg0 repositories.User, arg1 string) error

SendTextByUser mocks base method.

type MockNotificationServiceMockRecorder

type MockNotificationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNotificationServiceMockRecorder is the mock recorder for MockNotificationService.

func (*MockNotificationServiceMockRecorder) SendTextByUser

func (mr *MockNotificationServiceMockRecorder) SendTextByUser(arg0, arg1 any) *gomock.Call

SendTextByUser indicates an expected call of SendTextByUser.

type MockQueryDeviceService

type MockQueryDeviceService struct {
	// contains filtered or unexported fields
}

MockQueryDeviceService is a mock of QueryDeviceService interface.

func NewMockQueryDeviceService

func NewMockQueryDeviceService(ctrl *gomock.Controller) *MockQueryDeviceService

NewMockQueryDeviceService creates a new mock instance.

func (*MockQueryDeviceService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryDeviceService) GenerateRefreshToken

func (m *MockQueryDeviceService) GenerateRefreshToken() string

GenerateRefreshToken mocks base method.

func (*MockQueryDeviceService) GenerateUUID

func (m *MockQueryDeviceService) GenerateUUID() string

GenerateUUID mocks base method.

func (*MockQueryDeviceService) GetNewDeviceByUserUUIDAndIpAndUserAgent

func (m *MockQueryDeviceService) GetNewDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 string) (repositories.Device, error)

GetNewDeviceByUserUUIDAndIpAndUserAgent mocks base method.

func (*MockQueryDeviceService) GetNewRefreshDetailsByDevice

func (m *MockQueryDeviceService) GetNewRefreshDetailsByDevice(arg0 repositories.Device) (repositories.Device, error)

GetNewRefreshDetailsByDevice mocks base method.

func (*MockQueryDeviceService) GetOldDeviceByUserUUIDAndIpAndUserAgent

func (m *MockQueryDeviceService) GetOldDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 string) repositories.Device

GetOldDeviceByUserUUIDAndIpAndUserAgent mocks base method.

type MockQueryDeviceServiceMockRecorder

type MockQueryDeviceServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryDeviceServiceMockRecorder is the mock recorder for MockQueryDeviceService.

func (*MockQueryDeviceServiceMockRecorder) GenerateRefreshToken

func (mr *MockQueryDeviceServiceMockRecorder) GenerateRefreshToken() *gomock.Call

GenerateRefreshToken indicates an expected call of GenerateRefreshToken.

func (*MockQueryDeviceServiceMockRecorder) GenerateUUID

func (mr *MockQueryDeviceServiceMockRecorder) GenerateUUID() *gomock.Call

GenerateUUID indicates an expected call of GenerateUUID.

func (*MockQueryDeviceServiceMockRecorder) GetNewDeviceByUserUUIDAndIpAndUserAgent

func (mr *MockQueryDeviceServiceMockRecorder) GetNewDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 any) *gomock.Call

GetNewDeviceByUserUUIDAndIpAndUserAgent indicates an expected call of GetNewDeviceByUserUUIDAndIpAndUserAgent.

func (*MockQueryDeviceServiceMockRecorder) GetNewRefreshDetailsByDevice

func (mr *MockQueryDeviceServiceMockRecorder) GetNewRefreshDetailsByDevice(arg0 any) *gomock.Call

GetNewRefreshDetailsByDevice indicates an expected call of GetNewRefreshDetailsByDevice.

func (*MockQueryDeviceServiceMockRecorder) GetOldDeviceByUserUUIDAndIpAndUserAgent

func (mr *MockQueryDeviceServiceMockRecorder) GetOldDeviceByUserUUIDAndIpAndUserAgent(arg0, arg1, arg2 any) *gomock.Call

GetOldDeviceByUserUUIDAndIpAndUserAgent indicates an expected call of GetOldDeviceByUserUUIDAndIpAndUserAgent.

type MockQueryNotificationService

type MockQueryNotificationService struct {
	// contains filtered or unexported fields
}

MockQueryNotificationService is a mock of QueryNotificationService interface.

func NewMockQueryNotificationService

func NewMockQueryNotificationService(ctrl *gomock.Controller) *MockQueryNotificationService

NewMockQueryNotificationService creates a new mock instance.

func (*MockQueryNotificationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockQueryNotificationServiceMockRecorder

type MockQueryNotificationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryNotificationServiceMockRecorder is the mock recorder for MockQueryNotificationService.

type MockQueryResetTokenService

type MockQueryResetTokenService struct {
	// contains filtered or unexported fields
}

MockQueryResetTokenService is a mock of QueryResetTokenService interface.

func NewMockQueryResetTokenService

func NewMockQueryResetTokenService(ctrl *gomock.Controller) *MockQueryResetTokenService

NewMockQueryResetTokenService creates a new mock instance.

func (*MockQueryResetTokenService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryResetTokenService) GenerateToken

func (m *MockQueryResetTokenService) GenerateToken() string

GenerateToken mocks base method.

type MockQueryResetTokenServiceMockRecorder

type MockQueryResetTokenServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryResetTokenServiceMockRecorder is the mock recorder for MockQueryResetTokenService.

func (*MockQueryResetTokenServiceMockRecorder) GenerateToken

func (mr *MockQueryResetTokenServiceMockRecorder) GenerateToken() *gomock.Call

GenerateToken indicates an expected call of GenerateToken.

type MockQueryUserService

type MockQueryUserService struct {
	// contains filtered or unexported fields
}

MockQueryUserService is a mock of QueryUserService interface.

func NewMockQueryUserService

func NewMockQueryUserService(ctrl *gomock.Controller) *MockQueryUserService

NewMockQueryUserService creates a new mock instance.

func (*MockQueryUserService) CheckHashedPasswordAndNativePassword

func (m *MockQueryUserService) CheckHashedPasswordAndNativePassword(arg0, arg1 string) error

CheckHashedPasswordAndNativePassword mocks base method.

func (*MockQueryUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryUserService) GenerateUUID

func (m *MockQueryUserService) GenerateUUID() string

GenerateUUID mocks base method.

func (*MockQueryUserService) HashPassword

func (m *MockQueryUserService) HashPassword(arg0 string) (string, error)

HashPassword mocks base method.

type MockQueryUserServiceMockRecorder

type MockQueryUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryUserServiceMockRecorder is the mock recorder for MockQueryUserService.

func (*MockQueryUserServiceMockRecorder) CheckHashedPasswordAndNativePassword

func (mr *MockQueryUserServiceMockRecorder) CheckHashedPasswordAndNativePassword(arg0, arg1 any) *gomock.Call

CheckHashedPasswordAndNativePassword indicates an expected call of CheckHashedPasswordAndNativePassword.

func (*MockQueryUserServiceMockRecorder) GenerateUUID

func (mr *MockQueryUserServiceMockRecorder) GenerateUUID() *gomock.Call

GenerateUUID indicates an expected call of GenerateUUID.

func (*MockQueryUserServiceMockRecorder) HashPassword

func (mr *MockQueryUserServiceMockRecorder) HashPassword(arg0 any) *gomock.Call

HashPassword indicates an expected call of HashPassword.

type MockResetTokenService

type MockResetTokenService struct {
	// contains filtered or unexported fields
}

MockResetTokenService is a mock of ResetTokenService interface.

func NewMockResetTokenService

func NewMockResetTokenService(ctrl *gomock.Controller) *MockResetTokenService

NewMockResetTokenService creates a new mock instance.

func (*MockResetTokenService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResetTokenService) GenerateToken

func (m *MockResetTokenService) GenerateToken() string

GenerateToken mocks base method.

func (*MockResetTokenService) SendNewResetTokenByUser

func (m *MockResetTokenService) SendNewResetTokenByUser(arg0 repositories.User) error

SendNewResetTokenByUser mocks base method.

type MockResetTokenServiceMockRecorder

type MockResetTokenServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockResetTokenServiceMockRecorder is the mock recorder for MockResetTokenService.

func (*MockResetTokenServiceMockRecorder) GenerateToken

func (mr *MockResetTokenServiceMockRecorder) GenerateToken() *gomock.Call

GenerateToken indicates an expected call of GenerateToken.

func (*MockResetTokenServiceMockRecorder) SendNewResetTokenByUser

func (mr *MockResetTokenServiceMockRecorder) SendNewResetTokenByUser(arg0 any) *gomock.Call

SendNewResetTokenByUser indicates an expected call of SendNewResetTokenByUser.

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface.

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance.

func (*MockUserService) CheckHashedPasswordAndNativePassword

func (m *MockUserService) CheckHashedPasswordAndNativePassword(arg0, arg1 string) error

CheckHashedPasswordAndNativePassword mocks base method.

func (*MockUserService) CreateUserByUUIDAndEmailAndHashedPassword

func (m *MockUserService) CreateUserByUUIDAndEmailAndHashedPassword(arg0, arg1, arg2 string) error

CreateUserByUUIDAndEmailAndHashedPassword mocks base method.

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUserService) GenerateUUID

func (m *MockUserService) GenerateUUID() string

GenerateUUID mocks base method.

func (*MockUserService) HashPassword

func (m *MockUserService) HashPassword(arg0 string) (string, error)

HashPassword mocks base method.

func (*MockUserService) UpdatePasswordByUUIDAndHashedPassword

func (m *MockUserService) UpdatePasswordByUUIDAndHashedPassword(arg0, arg1 string) error

UpdatePasswordByUUIDAndHashedPassword mocks base method.

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService.

func (*MockUserServiceMockRecorder) CheckHashedPasswordAndNativePassword

func (mr *MockUserServiceMockRecorder) CheckHashedPasswordAndNativePassword(arg0, arg1 any) *gomock.Call

CheckHashedPasswordAndNativePassword indicates an expected call of CheckHashedPasswordAndNativePassword.

func (*MockUserServiceMockRecorder) CreateUserByUUIDAndEmailAndHashedPassword

func (mr *MockUserServiceMockRecorder) CreateUserByUUIDAndEmailAndHashedPassword(arg0, arg1, arg2 any) *gomock.Call

CreateUserByUUIDAndEmailAndHashedPassword indicates an expected call of CreateUserByUUIDAndEmailAndHashedPassword.

func (*MockUserServiceMockRecorder) GenerateUUID

func (mr *MockUserServiceMockRecorder) GenerateUUID() *gomock.Call

GenerateUUID indicates an expected call of GenerateUUID.

func (*MockUserServiceMockRecorder) HashPassword

func (mr *MockUserServiceMockRecorder) HashPassword(arg0 any) *gomock.Call

HashPassword indicates an expected call of HashPassword.

func (*MockUserServiceMockRecorder) UpdatePasswordByUUIDAndHashedPassword

func (mr *MockUserServiceMockRecorder) UpdatePasswordByUUIDAndHashedPassword(arg0, arg1 any) *gomock.Call

UpdatePasswordByUUIDAndHashedPassword indicates an expected call of UpdatePasswordByUUIDAndHashedPassword.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL