Exemple #1
0
        public void GetFieldValue_OptionObject_CurrentRow_IsNotPresent_AreNotEqual()
        {
            List <string> values = OptionObjectHelpers.GetFieldValues(optionObject, "234.56");
            string        actual = values.Count > 0 ? values[0] : "Got empty response from helper.";

            Assert.AreNotEqual("Test Value", actual);
        }
Exemple #2
0
        public void GetFieldValue_OptionObject_CurrentRow_SecondForm_IsPresent_AreEqual()
        {
            List <string> values = OptionObjectHelpers.GetFieldValues(optionObject, "123.47");
            string        actual = values.Count > 0 ? values[0] : "Got empty response from helper.";

            Assert.AreEqual("Test Value 03", actual);
        }
 /// <summary>
 /// Returns the values of the field matching the Field Number.
 /// </summary>
 /// <param name="fieldNumber"></param>
 /// <returns></returns>
 public List <string> GetFieldValues(string fieldNumber) => OptionObjectHelpers.GetFieldValues(_optionObject, fieldNumber);