Exemplo n.º 1
0
        public void use_default_values()
        {
            var grammar = new TestServiceActionGrammar();

            grammar.DefaultValue = "5";
            grammar.GetCells()[0].DefaultValue.ShouldEqual("5");
        }
Exemplo n.º 2
0
        public void GetCells()
        {
            var          grammar = new TestServiceActionGrammar();
            IList <Cell> cells   = grammar.GetCells();

            cells.Count.ShouldEqual(1);

            cells[0].ShouldEqual(new Cell("number", typeof(double)));
        }