public void WordsInApp() { s.UseOldMode = true; (s.RootQueryBlock.AutocompleteAll as AutocompleteViewModel).AddTag(w[1]); (s.RootQueryBlock.AutocompleteAll as AutocompleteViewModel).AddTag(w[4]); s.RootQueryBlock.QueryScope = HealthRecordQueryAndScope.Appointment; s.SearchCommand.Execute(null); Assert.AreEqual(1, (s.Result.Statistic as HrsStatistic).Patients.Count); Assert.AreEqual(a[1], (s.Result.Patients[0] as HrsResultItemViewModel).Children[0].Children[0].Holder); Assert.AreEqual(2, (s.Result.Statistic as HrsStatistic).HealthRecords.Count); Assert.IsTrue(s.Contains(hr[1])); Assert.IsTrue(s.Contains(hr[2])); }