// Code generated by mockery v1.0.0. DO NOT EDIT.

package mocks

import (
	context "context"

	slack "github.com/nlopes/slack"
	mock "github.com/stretchr/testify/mock"
)

// Slack is an autogenerated mock type for the Slack type
type Slack struct {
	mock.Mock
}

// SendMessage provides a mock function with given fields: ctx, text, attachments
func (_m *Slack) SendMessage(ctx context.Context, text string, attachments ...slack.Attachment) error {
	_va := make([]interface{}, len(attachments))
	for _i := range attachments {
		_va[_i] = attachments[_i]
	}
	var _ca []interface{}
	_ca = append(_ca, ctx, text)
	_ca = append(_ca, _va...)
	ret := _m.Called(_ca...)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, string, ...slack.Attachment) error); ok {
		r0 = rf(ctx, text, attachments...)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
