Beispiel #1
0
        public void ListItemToCheckboxTest()
        {
            var result = CheckboxExtensions.ListItemToCheckbox(new SelectListItem()
            {
                Value = "someValue", Text = "someText"
            }, new Dictionary <string, object>(), "someName");

            Approvals.Verify(result);
        }
Beispiel #2
0
        public void BuildItemsTwoColumnsTest()
        {
            var result = CheckboxExtensions.BuildItems("testOptionLabel", _testSelectList, new Dictionary <string, object>(), "testFullName", CheckboxExtensions.ColNumber.twoCols);

            Approvals.Verify(result);
        }