예제 #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);
        }