public void Setup() { _repo = new CardRepository(Kernel.Get <CardFormatter>(), () => null) { FilterSetCode = F.IsEqualTo("ISD", Str.Comparer) }; _cardSearcher = new CardSearcher(_repo, new CardDocumentAdapter(_repo)); _keywordSearcher = new KeywordSearcher(_repo); _repo.LoadFile(); _repo.Load(); _repo.FillLocalizations(); }
public void Setup() { _repo = new CardRepository { FilterSetCode = F.IsEqualTo("ISD", Str.Comparer) }; _localizationRepo = new LocalizationRepository(); _cardSearcher = new CardSearcher(_repo, new CardDocumentAdapter(_repo)); _keywordSearcher = new KeywordSearcher(_repo); _repo.LoadFile(); _repo.Load(); _localizationRepo.LoadFile(); _localizationRepo.Load(); _repo.FillLocalizations(_localizationRepo); }