コード例 #1
0
        public void AllPossibleValuesDependencySource_accepts_Visitor()
        {
            var source = new AllPossibleValuesDependencySource(typeof(IGateway[]));
            source.AcceptVisitor(theVisitor);

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

            theVisitor.Received().AllPossibleOf(typeof(IGateway));
        }
コード例 #3
0
 protected bool Equals(AllPossibleValuesDependencySource other)
 {
     return(Equals(_enumerationType, other._enumerationType) && Equals(_elementType, other._elementType));
 }
コード例 #4
0
 protected bool Equals(AllPossibleValuesDependencySource other)
 {
     return Equals(_enumerationType, other._enumerationType) && Equals(_elementType, other._elementType);
 }