Пример #1
0
        public void RecordFieldUtility_GetFieldValue_4()
        {
            RecordFieldCollection enumeration = _GetFieldCollection();

            string[] values = RecordFieldUtility.GetFieldValue(enumeration, 100);
            Assert.AreEqual(0, values.Length);
        }
Пример #2
0
        public void RecordFieldUtility_GetFieldValue_3()
        {
            IEnumerable <RecordField> enumeration = _GetFieldEnumeration();

            string[] values = RecordFieldUtility.GetFieldValue(enumeration, 100);
            Assert.AreEqual(0, values.Length);
        }
Пример #3
0
        public void RecordFieldUtility_GetFieldValue_6()
        {
            RecordFieldCollection enumeration = new RecordFieldCollection
            {
                new RecordField(100, "Field100"),
                new RecordField(200, "TheField200"),
            };

            string[] values = RecordFieldUtility.GetFieldValue(enumeration);
            Assert.AreEqual(2, values.Length);
        }