public void DependencyProblem_accepts_Visitor()
        {
            var problem = new DependencyProblem();

            problem.AcceptVisitor(theVisitor);

            theVisitor.AssertWasCalled(x => x.Problem(problem));
        }
        public void DependencyProblem_accepts_Visitor()
        {
            var problem = new DependencyProblem();

            problem.AcceptVisitor(theVisitor);

            theVisitor.Received().Problem(problem);
        }