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));
        }
Example #3
0
 protected bool Equals(AllPossibleValuesDependencySource other)
 {
     return(Equals(_enumerationType, other._enumerationType) && Equals(_elementType, other._elementType));
 }
 protected bool Equals(AllPossibleValuesDependencySource other)
 {
     return Equals(_enumerationType, other._enumerationType) && Equals(_elementType, other._elementType);
 }