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)); }
public void Constant_accepts_Visitor() { var constant = new Constant(typeof(string), "a"); constant.AcceptVisitor(theVisitor); theVisitor.Received().Constant(constant); }