func (fake *WorkItemRepository) Reorder(ctx context.Context, direction workitem.DirectionType, targetID *string, wi workitem.WorkItem, modifierID uuid.UUID) (*workitem.WorkItem, error) {
	fake.reorderMutex.Lock()
	fake.reorderArgsForCall = append(fake.reorderArgsForCall, struct {
		ctx        context.Context
		direction  workitem.DirectionType
		targetID   *string
		wi         workitem.WorkItem
		modifierID uuid.UUID
	}{ctx, direction, targetID, wi, modifierID})
	fake.recordInvocation("Reorder", []interface{}{ctx, direction, *targetID, wi, modifierID})
	fake.reorderMutex.Unlock()
	if fake.ReorderStub != nil {
		return fake.ReorderStub(ctx, direction, targetID, wi, modifierID)
	} else {
		return fake.reorderReturns.wi, fake.reorderReturns.err
	}
}
// Reorder is a fake function for reordering of workitems
// Used for testing purpose
Reorder is a fake function for reordering of workitems
Used for testing purpose
// Reorder is a fake function for reordering of workitems // Used for testing purpose
func (fake *WorkItemRepository) Reorder(ctx context.Context, direction workitem.DirectionType, targetID *string, wi workitem.WorkItem, modifierID uuid.UUID) (*workitem.WorkItem, error) {
	fake.reorderMutex.Lock()
	fake.reorderArgsForCall = append(fake.reorderArgsForCall, struct {
		ctx        context.Context
		direction  workitem.DirectionType
		targetID   *string
		wi         workitem.WorkItem
		modifierID uuid.UUID
	}{ctx, direction, targetID, wi, modifierID})
	fake.recordInvocation("Reorder", []interface{}{ctx, direction, *targetID, wi, modifierID})
	fake.reorderMutex.Unlock()
	if fake.ReorderStub != nil {
		return fake.ReorderStub(ctx, direction, targetID, wi, modifierID)
	} else {
		return fake.reorderReturns.wi, fake.reorderReturns.err
	}
}
func ( fake * WorkItemRepository ) Reorder ( ctx context . Context , direction workitem . DirectionType , targetID * string , wi workitem . WorkItem , modifierID uuid . UUID ) ( * workitem . WorkItem , error ) { fake . reorderMutex . Lock ( ) fake . reorderArgsForCall = append ( fake . reorderArgsForCall , struct { ctx context . Context direction workitem . DirectionType targetID * string wi workitem . WorkItem modifierID uuid . UUID } { ctx , direction , targetID , wi , modifierID } ) fake . recordInvocation ( " " , [ ] interface { } { ctx , direction , * targetID , wi , modifierID } ) fake . reorderMutex . Unlock ( ) if fake . ReorderStub != nil { return fake . ReorderStub ( ctx , direction , targetID , wi , modifierID ) } else { return fake . reorderReturns . wi , fake . reorderReturns . err } }
Reorder is a fake function for reordering of workitems
Used for testing purpose
Reorder is a fake function for reordering of workitems Used for testing purpose