// Copyright 2020 FoxyUtils ehf. All rights reserved. // // DO NOT EDIT: generated by unioffice ECMA-376 generator // // Use of this software package and source code is governed by the terms of the // UniDoc End User License Agreement (EULA) that is available at: // https://unidoc.io/eula/ // A trial license code for evaluation can be obtained at https://unidoc.io website. package chart_test import ( "encoding/xml" "testing" "github.com/unidoc/unioffice/schema/soo/dml/chart" ) func TestGroup_DLblConstructor(t *testing.T) { v := chart.NewGroup_DLbl() if v == nil { t.Errorf("chart.NewGroup_DLbl must return a non-nil value") } if err := v.Validate(); err != nil { t.Errorf("newly constructed chart.Group_DLbl should validate: %s", err) } } func TestGroup_DLblMarshalUnmarshal(t *testing.T) { v := chart.NewGroup_DLbl() buf, _ := xml.Marshal(v) v2 := chart.NewGroup_DLbl() xml.Unmarshal(buf, v2) }