public void testClone() { string format = "<s1><S><F=N><A=default><D=Test><S=<desc=default><desc2=val2>><V=<L=1 10>>"; FieldFormat ff = FieldFormat.create(format); FieldFormat cl = (FieldFormat)ff.Clone(); Assert.AreEqual(format, cl.encode(new ClassicEncodingSettings(true))); }