示例#1
0
        public void FilterService()
        {
            var          filterService = new FilteringService(new RepositoryFactory(new FakeSession()), new FilterStrategyFactory());
            IList <IDto> result        = filterService.Filtering(typeof(UserDto), new UserFilter());

            Assert.That(result, Is.Not.Null);
        }
示例#2
0
        public void FilteringAll(Type type)
        {
            var filterService = new FilteringService(new RepositoryFactory(new FakeSession()), new FilterStrategyFactory());

            filterService.Filtering(type, null);
        }