// Code generated by mockery v2.53.5. DO NOT EDIT.

package mocks

import (
	context "context"

	types "github.com/aws/aws-sdk-go-v2/service/cloudformation/types"
	mock "github.com/stretchr/testify/mock"
)

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

type StackRemover_Expecter struct {
	mock *mock.Mock
}

func (_m *StackRemover) EXPECT() *StackRemover_Expecter {
	return &StackRemover_Expecter{mock: &_m.Mock}
}

// DeleteStackSync provides a mock function with given fields: ctx, s
func (_m *StackRemover) DeleteStackSync(ctx context.Context, s *types.Stack) error {
	ret := _m.Called(ctx, s)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, *types.Stack) error); ok {
		r0 = rf(ctx, s)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// DeleteStackSync is a helper method to define mock.On call
//   - ctx context.Context
//   - s *types.Stack
func (_e *StackRemover_Expecter) DeleteStackSync(ctx interface{}, s interface{}) *StackRemover_DeleteStackSync_Call {
	return &StackRemover_DeleteStackSync_Call{Call: _e.mock.On("DeleteStackSync", ctx, s)}
}

func (_c *StackRemover_DeleteStackSync_Call) Run(run func(ctx context.Context, s *types.Stack)) *StackRemover_DeleteStackSync_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(*types.Stack))
	})
	return _c
}

func (_c *StackRemover_DeleteStackSync_Call) Return(_a0 error) *StackRemover_DeleteStackSync_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *StackRemover_DeleteStackSync_Call) RunAndReturn(run func(context.Context, *types.Stack) error) *StackRemover_DeleteStackSync_Call {
	_c.Call.Return(run)
	return _c
}

// DescribeStack provides a mock function with given fields: ctx, s
func (_m *StackRemover) DescribeStack(ctx context.Context, s *types.Stack) (*types.Stack, error) {
	ret := _m.Called(ctx, s)

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

	var r0 *types.Stack
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, *types.Stack) (*types.Stack, error)); ok {
		return rf(ctx, s)
	}
	if rf, ok := ret.Get(0).(func(context.Context, *types.Stack) *types.Stack); ok {
		r0 = rf(ctx, s)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*types.Stack)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, *types.Stack) error); ok {
		r1 = rf(ctx, s)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// DescribeStack is a helper method to define mock.On call
//   - ctx context.Context
//   - s *types.Stack
func (_e *StackRemover_Expecter) DescribeStack(ctx interface{}, s interface{}) *StackRemover_DescribeStack_Call {
	return &StackRemover_DescribeStack_Call{Call: _e.mock.On("DescribeStack", ctx, s)}
}

func (_c *StackRemover_DescribeStack_Call) Run(run func(ctx context.Context, s *types.Stack)) *StackRemover_DescribeStack_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(*types.Stack))
	})
	return _c
}

func (_c *StackRemover_DescribeStack_Call) Return(_a0 *types.Stack, _a1 error) *StackRemover_DescribeStack_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *StackRemover_DescribeStack_Call) RunAndReturn(run func(context.Context, *types.Stack) (*types.Stack, error)) *StackRemover_DescribeStack_Call {
	_c.Call.Return(run)
	return _c
}

// ListCapabilitiesIAMStacks provides a mock function with given fields: ctx
func (_m *StackRemover) ListCapabilitiesIAMStacks(ctx context.Context) ([]*types.Stack, error) {
	ret := _m.Called(ctx)

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

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

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

	return r0, r1
}

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

// ListCapabilitiesIAMStacks is a helper method to define mock.On call
//   - ctx context.Context
func (_e *StackRemover_Expecter) ListCapabilitiesIAMStacks(ctx interface{}) *StackRemover_ListCapabilitiesIAMStacks_Call {
	return &StackRemover_ListCapabilitiesIAMStacks_Call{Call: _e.mock.On("ListCapabilitiesIAMStacks", ctx)}
}

func (_c *StackRemover_ListCapabilitiesIAMStacks_Call) Run(run func(ctx context.Context)) *StackRemover_ListCapabilitiesIAMStacks_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

func (_c *StackRemover_ListCapabilitiesIAMStacks_Call) Return(_a0 []*types.Stack, _a1 error) *StackRemover_ListCapabilitiesIAMStacks_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *StackRemover_ListCapabilitiesIAMStacks_Call) RunAndReturn(run func(context.Context) ([]*types.Stack, error)) *StackRemover_ListCapabilitiesIAMStacks_Call {
	_c.Call.Return(run)
	return _c
}

// ListCapabilityStacks provides a mock function with given fields: ctx
func (_m *StackRemover) ListCapabilityStacks(ctx context.Context) ([]*types.Stack, error) {
	ret := _m.Called(ctx)

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

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

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

	return r0, r1
}

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

// ListCapabilityStacks is a helper method to define mock.On call
//   - ctx context.Context
func (_e *StackRemover_Expecter) ListCapabilityStacks(ctx interface{}) *StackRemover_ListCapabilityStacks_Call {
	return &StackRemover_ListCapabilityStacks_Call{Call: _e.mock.On("ListCapabilityStacks", ctx)}
}

func (_c *StackRemover_ListCapabilityStacks_Call) Run(run func(ctx context.Context)) *StackRemover_ListCapabilityStacks_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

func (_c *StackRemover_ListCapabilityStacks_Call) Return(_a0 []*types.Stack, _a1 error) *StackRemover_ListCapabilityStacks_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *StackRemover_ListCapabilityStacks_Call) RunAndReturn(run func(context.Context) ([]*types.Stack, error)) *StackRemover_ListCapabilityStacks_Call {
	_c.Call.Return(run)
	return _c
}

// NewStackRemover creates a new instance of StackRemover. 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 NewStackRemover(t interface {
	mock.TestingT
	Cleanup(func())
}) *StackRemover {
	mock := &StackRemover{}
	mock.Mock.Test(t)

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

	return mock
}
