// Code generated by mockery v2.53.4. DO NOT EDIT. // Regenerate this file using `make filestore-mocks`. package mocks import ( context "context" blob "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob" mock "github.com/stretchr/testify/mock" ) // blobDownloader is an autogenerated mock type for the blobDownloader type type blobDownloader struct { mock.Mock } // DownloadStream provides a mock function with given fields: ctx, opts func (_m *blobDownloader) DownloadStream(ctx context.Context, opts *blob.DownloadStreamOptions) (blob.DownloadStreamResponse, error) { ret := _m.Called(ctx, opts) if len(ret) == 0 { panic("no return value specified for DownloadStream") } var r0 blob.DownloadStreamResponse var r1 error if rf, ok := ret.Get(0).(func(context.Context, *blob.DownloadStreamOptions) (blob.DownloadStreamResponse, error)); ok { return rf(ctx, opts) } if rf, ok := ret.Get(0).(func(context.Context, *blob.DownloadStreamOptions) blob.DownloadStreamResponse); ok { r0 = rf(ctx, opts) } else { r0 = ret.Get(0).(blob.DownloadStreamResponse) } if rf, ok := ret.Get(1).(func(context.Context, *blob.DownloadStreamOptions) error); ok { r1 = rf(ctx, opts) } else { r1 = ret.Error(1) } return r0, r1 } // newBlobDownloader creates a new instance of blobDownloader. 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 newBlobDownloader(t interface { mock.TestingT Cleanup(func()) }) *blobDownloader { mock := &blobDownloader{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }