public void ReferencedDependencySource_accepts_Visitor() { var source = new ReferencedDependencySource(typeof (IGateway), "Green"); source.AcceptVisitor(theVisitor); theVisitor.AssertWasCalled(x => x.Referenced(source)); }
public void ReferencedDependencySource_accepts_Visitor() { var source = new ReferencedDependencySource(typeof(IGateway), "Green"); source.AcceptVisitor(theVisitor); theVisitor.Received().Referenced(source); }