// Update provides a mock function with given fields: updatedImage
Update provides a mock function with given fields: updatedImage
// Update provides a mock function with given fields : updatedImage
func (_m *ImageReaderWriter) Update(updatedImage models.ImagePartial) (*models.Image, error) {
	ret := _m.Called(updatedImage)
	var r0 *models.Image
	if rf, ok := ret.Get(0).(func(models.ImagePartial) *models.Image); ok {
		r0 = rf(updatedImage)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Image)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(models.ImagePartial) error); ok {
		r1 = rf(updatedImage)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * ImageReaderWriter ) Update ( updatedImage models . ImagePartial ) ( * models . Image , error ) { ret := _m . Called ( updatedImage ) var r0 * models . Image if rf , ok := ret . Get ( 0 ) . ( func ( models . ImagePartial ) * models . Image ) ; ok { r0 = rf ( updatedImage ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * models . Image ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( models . ImagePartial ) error ) ; ok { r1 = rf ( updatedImage ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
Update provides a mock function with given fields: updatedImage
Update provides a mock function with given fields : updatedImage