func (_m *TagReaderWriter) Create(newTag models.Tag) (*models.Tag, error) {
	ret := _m.Called(newTag)

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

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

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