SIL.Cog.Application.Tests.ViewModels.WordListsViewModelTests.FindCommand_FormNothingSelectedNoMatches_NoWordSelected C# (CSharp) Méthode

FindCommand_FormNothingSelectedNoMatches_NoWordSelected() private méthode

        public void FindCommand_FormNothingSelectedNoMatches_NoWordSelected()
        {
            using (var env = new WordListsViewModelTestEnvironment())
            {
                SetupProjectWithWords(env);
                env.OpenFindDialog();

                env.FindViewModel.Field = FindField.Form;
                env.FindViewModel.String = "fall";
                env.FindViewModel.FindNextCommand.Execute(null);
                Assert.That(env.WordListsViewModel.SelectedVarietyMeaning, Is.Null);
            }
        }