public void AllPossibleValuesDependencySource_accepts_Visitor() { var source = new AllPossibleValuesDependencySource(typeof(IGateway[])); source.AcceptVisitor(theVisitor); theVisitor.AssertWasCalled(x => x.AllPossibleOf(typeof(IGateway))); }
public void AllPossibleValuesDependencySource_accepts_Visitor() { var source = new AllPossibleValuesDependencySource(typeof(IGateway[])); source.AcceptVisitor(theVisitor); theVisitor.Received().AllPossibleOf(typeof(IGateway)); }