github.com/paketo-buildpacks/libpak@v1.70.0/carton/mocks/entry_writer.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  
     7  // EntryWriter is an autogenerated mock type for the EntryWriter type
     8  type EntryWriter struct {
     9  	mock.Mock
    10  }
    11  
    12  // Write provides a mock function with given fields: source, destination
    13  func (_m *EntryWriter) Write(source string, destination string) error {
    14  	ret := _m.Called(source, destination)
    15  
    16  	var r0 error
    17  	if rf, ok := ret.Get(0).(func(string, string) error); ok {
    18  		r0 = rf(source, destination)
    19  	} else {
    20  		r0 = ret.Error(0)
    21  	}
    22  
    23  	return r0
    24  }