コード例 #1
0
        public void VerifySelectedOptionsShouldWork()
        {
            string[] values    = { "1", "2", "3", "4", "5", "6" };
            string   fieldname = "fieldname";

            mockProcessor.ExpectAndReturn("GetStringArray", new string[] { "1", "2", "3", "4", "5", "6" }, new object[] { "getSelectOptions", new string[] { fieldname } });
            string[] actualResult = selenium.GetSelectOptions(fieldname);
            Assert.AreEqual(new string[] { "1", "2", "3", "4", "5", "6" }, actualResult);
        }