public void Which_Should_CreateClassCollectionFromFactory()
        {
            var  mock                       = new Mock <IClassCollector>();
            var  classCollector             = mock.Object;
            bool negate                     = false;
            bool not                        = true;
            var  classCollectionFactoryMock = new Mock <IClassCollectionFactory>();
            var  sut                        = new ClassPredicate(classCollector, negate, not, classCollectionFactoryMock.Object);

            sut.Which();
            classCollectionFactoryMock.Verify(x => x.Create(classCollector, negate, not), Times.Once);
        }
Exemple #2
0
        public virtual IList <Type> Find(ClassPredicate predicate)
        {
            IList <Type> list = new List <Type>();

            return(list);
        }
Exemple #3
0
        public virtual IList <Type> Find(ClassPredicate predicate_0)
        {
            IList <Type> result = new List <Type>();

            return(result);
        }