Documentation
¶
Overview ¶
Package user is a generated GoMock package.
Index ¶
- type MockBlockService
- func (m *MockBlockService) Block(ctx context.Context, numbers []string) (*user.BlockResponse, error)
- func (m *MockBlockService) EXPECT() *MockBlockServiceMockRecorder
- func (m *MockBlockService) ListBlocked(ctx context.Context, request *user.ListBlockedUsersOptions) (*user.ListBlockedUsersResponse, error)
- func (m *MockBlockService) Unblock(ctx context.Context, numbers []string) (*user.BlockResponse, error)
- type MockBlockServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockService ¶
type MockBlockService struct {
// contains filtered or unexported fields
}
MockBlockService is a mock of BlockService interface.
func NewMockBlockService ¶
func NewMockBlockService(ctrl *gomock.Controller) *MockBlockService
NewMockBlockService creates a new mock instance.
func (*MockBlockService) Block ¶
func (m *MockBlockService) Block(ctx context.Context, numbers []string) (*user.BlockResponse, error)
Block mocks base method.
func (*MockBlockService) EXPECT ¶
func (m *MockBlockService) EXPECT() *MockBlockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockService) ListBlocked ¶
func (m *MockBlockService) ListBlocked(ctx context.Context, request *user.ListBlockedUsersOptions) (*user.ListBlockedUsersResponse, error)
ListBlocked mocks base method.
func (*MockBlockService) Unblock ¶
func (m *MockBlockService) Unblock(ctx context.Context, numbers []string) (*user.BlockResponse, error)
Unblock mocks base method.
type MockBlockServiceMockRecorder ¶
type MockBlockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockServiceMockRecorder is the mock recorder for MockBlockService.
func (*MockBlockServiceMockRecorder) Block ¶
func (mr *MockBlockServiceMockRecorder) Block(ctx, numbers any) *gomock.Call
Block indicates an expected call of Block.
func (*MockBlockServiceMockRecorder) ListBlocked ¶
func (mr *MockBlockServiceMockRecorder) ListBlocked(ctx, request any) *gomock.Call
ListBlocked indicates an expected call of ListBlocked.
Click to show internal directories.
Click to hide internal directories.