func (_m *PerformerReaderWriter) Create(newPerformer models.Performer) (*models.Performer, error) {
	ret := _m.Called(newPerformer)

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

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

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