public void RecordFieldUtility_AllSubFields_1() { RecordField field1 = new RecordField() .AddSubField('a', "SubA") .AddSubField('b', "SubB") .AddSubField('c', "SubC"); RecordField field2 = new RecordField() .AddSubField('d', "SubD") .AddSubField('e', "SubE") .AddSubField('f', "SubF"); RecordField[] fields = { field1, field2 }; SubField[] subFields = RecordFieldUtility.AllSubFields(fields); Assert.AreEqual(6, subFields.Length); }