public void AutocompletePropertyNameUtility_UseFuzzyMatching()
        {
            IAutocompleteParametersBuilder <Model> autocompleteParametersBuilder = AutocompleteParametersBuilder <Model> .Create();

            Assert.IsNull(autocompleteParametersBuilder.UseFuzzyMatching);

            autocompleteParametersBuilder.WithUseFuzzyMatching(true);

            Assert.IsNotNull(autocompleteParametersBuilder.UseFuzzyMatching);
            Assert.AreEqual(true, autocompleteParametersBuilder.UseFuzzyMatching);

            AutocompleteParameters parameters = autocompleteParametersBuilder.Build();

            Assert.IsNotNull(parameters);
            Assert.AreEqual(true, parameters.UseFuzzyMatching);
        }
        public void AutocompletePropertyNameUtility_AutocompleteMode()
        {
            IAutocompleteParametersBuilder <Model> autocompleteParametersBuilder = AutocompleteParametersBuilder <Model> .Create();

            Assert.AreEqual(AutocompleteMode.OneTerm, autocompleteParametersBuilder.AutocompleteMode);

            autocompleteParametersBuilder.WithAutocompleteMode(AutocompleteMode.OneTermWithContext);

            Assert.IsNotNull(autocompleteParametersBuilder.AutocompleteMode);
            Assert.AreEqual(AutocompleteMode.OneTermWithContext, autocompleteParametersBuilder.AutocompleteMode);

            AutocompleteParameters parameters = autocompleteParametersBuilder.Build();

            Assert.IsNotNull(parameters);
            Assert.AreEqual(AutocompleteMode.OneTermWithContext, parameters.AutocompleteMode);
        }