예제 #1
0
        public void works_with_SelectionValues()
        {
            var grammar = theModel.FindGrammar("One").As <SetVerification>();
            var cell    = grammar.cells.FirstOrDefault(x => x.Key == "Name");

            cell.options.Select(x => x.value).ShouldHaveTheSameElementsAs("A", "B", "C");
            cell.editor.ShouldBe("select");
        }