func Test_Item(t *testing.T) { name := "test_item" template := database.NewTemplate(name) item := database.NewItem(template.GetId()) testutils.Assert(item.GetName() == name, t, "Item didn't get created with correct name", name, item.GetName()) }
func CreateTemplate(name string) types.Template { return db.NewTemplate(name) }