public void AllPossibleValuesDependencySource_accepts_Visitor()
        {
            var source = new AllPossibleValuesDependencySource(typeof(IGateway[]));

            source.AcceptVisitor(theVisitor);

            theVisitor.AssertWasCalled(x => x.AllPossibleOf(typeof(IGateway)));
        }
Example #2
0
        public void AllPossibleValuesDependencySource_accepts_Visitor()
        {
            var source = new AllPossibleValuesDependencySource(typeof(IGateway[]));

            source.AcceptVisitor(theVisitor);

            theVisitor.Received().AllPossibleOf(typeof(IGateway));
        }