You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: item_property_test.go
    path of file: ./repos/OpenDiablo2/d2core/d2item/diablo2item
    
    the code of the file until where you have to start completion: package diablo2item

import (
	"fmt"
	"math/rand"
	"regexp"
	"testing"
	"time"

	"github.com/OpenDiablo2/OpenDiablo2/d2core/d2asset"

	"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
	"github.com/OpenDiablo2/OpenDiab
    
func TestSetup(t *testing.T) {
	var err error

	testAssetManager = &d2asset.AssetManager{}
	testAssetManager.Records = &d2records.RecordManager{}

	testItemFactory, err = NewItemFactory(testAssetManager)
	if err != nil {
		t.Error(err)
		return
	}

	testAssetManager.Records.Item.Stats = itemStatCosts
	testAssetManager.Records.Character.Stats = charStats
	testAssetManager.Records.Skill.Details = skillDetails
	testAssetManager.Records.Monster.Stats = monStats
	testAssetManager.Records.Properties = properties
}