func (_m *GalleryReaderWriter) UpdatePartial(updatedGallery models.GalleryPartial) (*models.Gallery, error) {
	ret := _m.Called(updatedGallery)

	var r0 *models.Gallery
	if rf, ok := ret.Get(0).(func(models.GalleryPartial) *models.Gallery); ok {
		r0 = rf(updatedGallery)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Gallery)
		}
	}

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

	return r0, r1
}
// UpdatePartial provides a mock function with given fields: updatedGallery
UpdatePartial provides a mock function with given fields: updatedGallery
// UpdatePartial provides a mock function with given fields : updatedGallery
func (_m *GalleryReaderWriter) UpdatePartial(updatedGallery models.GalleryPartial) (*models.Gallery, error) {
	ret := _m.Called(updatedGallery)
	var r0 *models.Gallery
	if rf, ok := ret.Get(0).(func(models.GalleryPartial) *models.Gallery); ok {
		r0 = rf(updatedGallery)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Gallery)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(models.GalleryPartial) error); ok {
		r1 = rf(updatedGallery)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * GalleryReaderWriter ) UpdatePartial ( updatedGallery models . GalleryPartial ) ( * models . Gallery , error ) { ret := _m . Called ( updatedGallery ) var r0 * models . Gallery if rf , ok := ret . Get ( 0 ) . ( func ( models . GalleryPartial ) * models . Gallery ) ; ok { r0 = rf ( updatedGallery ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * models . Gallery ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( models . GalleryPartial ) error ) ; ok { r1 = rf ( updatedGallery ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
UpdatePartial provides a mock function with given fields: updatedGallery
UpdatePartial provides a mock function with given fields : updatedGallery