public void Constant_accepts_Visitor()
        {
            var constant = new Constant(typeof(string), "a");
            constant.AcceptVisitor(theVisitor);

            theVisitor.AssertWasCalled(x => x.Constant(constant));
        }
        public void Constant_accepts_Visitor()
        {
            var constant = new Constant(typeof(string), "a");
            constant.AcceptVisitor(theVisitor);

            theVisitor.Received().Constant(constant);
        }
        public void Constant_accepts_Visitor()
        {
            var constant = new Constant(typeof(string), "a");

            constant.AcceptVisitor(theVisitor);

            theVisitor.AssertWasCalled(x => x.Constant(constant));
        }
Ejemplo n.º 4
0
        public void Constant_accepts_Visitor()
        {
            var constant = new Constant(typeof(string), "a");

            constant.AcceptVisitor(theVisitor);

            theVisitor.Received().Constant(constant);
        }