blob: 253f5dc768fda83aaec1e4e51b2e756baaa9ab0a [file] [log] [blame]
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
context "context"
mock "github.com/stretchr/testify/mock"
)
// GCSDownloader is an autogenerated mock type for the GCSDownloader type
type GCSDownloader struct {
mock.Mock
}
// Download provides a mock function with given fields: ctx, gcsFile, tempDir
func (_m *GCSDownloader) Download(ctx context.Context, gcsFile string, tempDir string) ([]byte, error) {
ret := _m.Called(ctx, gcsFile, tempDir)
var r0 []byte
if rf, ok := ret.Get(0).(func(context.Context, string, string) []byte); ok {
r0 = rf(ctx, gcsFile, tempDir)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]byte)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, string, string) error); ok {
r1 = rf(ctx, gcsFile, tempDir)
} else {
r1 = ret.Error(1)
}
return r0, r1
}