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

package exec

import (
	context "context"

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

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

// Exec provides a mock function with given fields: ctx, containerID, streams
func (_m *MockDocker) Exec(ctx context.Context, containerID string, streams IOStreams) error {
	ret := _m.Called(ctx, containerID, streams)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, string, IOStreams) error); ok {
		r0 = rf(ctx, containerID, streams)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

type mockConstructorTestingTNewMockDocker interface {
	mock.TestingT
	Cleanup(func())
}

// NewMockDocker creates a new instance of MockDocker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewMockDocker(t mockConstructorTestingTNewMockDocker) *MockDocker {
	mock := &MockDocker{}
	mock.Mock.Test(t)

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

	return mock
}
