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

package helpers

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

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

// Open provides a mock function with given fields:
func (_m *mockLogStreamProvider) Open() (readSeekCloser, error) {
	ret := _m.Called()

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

	var r0 readSeekCloser
	var r1 error
	if rf, ok := ret.Get(0).(func() (readSeekCloser, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() readSeekCloser); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(readSeekCloser)
		}
	}

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

	return r0, r1
}

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

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

	return mock
}
