// Code generated by mockery. DO NOT EDIT.

package mocks_da

import (
	context "context"

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

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

type SequenceSenderElderberry_Expecter struct {
	mock *mock.Mock
}

func (_m *SequenceSenderElderberry) EXPECT() *SequenceSenderElderberry_Expecter {
	return &SequenceSenderElderberry_Expecter{mock: &_m.Mock}
}

// PostSequenceElderberry provides a mock function with given fields: ctx, batchesData
func (_m *SequenceSenderElderberry) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error) {
	ret := _m.Called(ctx, batchesData)

	if len(ret) == 0 {
		panic("no return value specified for PostSequenceElderberry")
	}

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, [][]byte) ([]byte, error)); ok {
		return rf(ctx, batchesData)
	}
	if rf, ok := ret.Get(0).(func(context.Context, [][]byte) []byte); ok {
		r0 = rf(ctx, batchesData)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, [][]byte) error); ok {
		r1 = rf(ctx, batchesData)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// SequenceSenderElderberry_PostSequenceElderberry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceElderberry'
type SequenceSenderElderberry_PostSequenceElderberry_Call struct {
	*mock.Call
}

// PostSequenceElderberry is a helper method to define mock.On call
//   - ctx context.Context
//   - batchesData [][]byte
func (_e *SequenceSenderElderberry_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *SequenceSenderElderberry_PostSequenceElderberry_Call {
	return &SequenceSenderElderberry_PostSequenceElderberry_Call{Call: _e.mock.On("PostSequenceElderberry", ctx, batchesData)}
}

func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *SequenceSenderElderberry_PostSequenceElderberry_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].([][]byte))
	})
	return _c
}

func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *SequenceSenderElderberry_PostSequenceElderberry_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *SequenceSenderElderberry_PostSequenceElderberry_Call {
	_c.Call.Return(run)
	return _c
}

// NewSequenceSenderElderberry creates a new instance of SequenceSenderElderberry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewSequenceSenderElderberry(t interface {
	mock.TestingT
	Cleanup(func())
}) *SequenceSenderElderberry {
	mock := &SequenceSenderElderberry{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
