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); }
public void FilteringAll(Type type) { var filterService = new FilteringService(new RepositoryFactory(new FakeSession()), new FilterStrategyFactory()); filterService.Filtering(type, null); }