private PsfModel GeneratePreSEarchFiltersViewModel(PreSearchFilterType filterType)
        {
            var filtersModel = new PsfModel {
                OptionsSelected = "DummyJsonState"
            };

            var filterSectionOne = new PsfSection
            {
                Name               = "Multi Select Section One",
                Description        = "Dummy Title One",
                SingleSelectOnly   = false,
                NextPageUrl        = "NextSectionURL",
                PreviousPageUrl    = "HomePageURL",
                PageNumber         = 1,
                TotalNumberOfPages = 2,
                SectionDataType    = filterType.ToString()
            };

            filterSectionOne.Options = new List <PsfOption>();

            for (int ii = 0; ii < 3; ii++)
            {
                var iiString = ii.ToString();
                filterSectionOne.Options.Add(item: new PsfOption
                {
                    Id          = iiString,
                    IsSelected  = false,
                    Name        = $"Title-{iiString}",
                    Description = $"Description-{iiString}",
                    OptionKey   = $"{iiString}-UrlName",
                    ClearOtherOptionsIfSelected = false
                });
            }

            filtersModel.Section = filterSectionOne;

            return(filtersModel);
        }
        private void CheckFilterSecton(PreSearchFiltersController controller, PsfSection filterSection, PreSearchFilterType expectedFilterType, bool addNotApplicable = true)
        {
            filterSection.Description.Should().BeEquivalentTo(controller.SectionDescription);
            filterSection.Name.Should().BeEquivalentTo(controller.SectionTitle);
            filterSection.NextPageUrl.Should().BeEquivalentTo(controller.NextPageUrl);
            filterSection.PreviousPageUrl.Should().BeEquivalentTo(controller.PreviousPageUrl);
            filterSection.SectionDataType.Should().BeEquivalentTo(expectedFilterType.ToString());
            filterSection.PageNumber.Should().Be(controller.ThisPageNumber);
            filterSection.TotalNumberOfPages.Should().Be(controller.TotalNumberOfPages);
            filterSection.Options.Count.Should().Be(5);

            int idx = 0;

            foreach (PreSearchFilterOption p in GetDummyPreSearchFilterOption(addNotApplicable))
            {
                filterSection.Options[idx].Id.Should().BeEquivalentTo(p.Id);
                filterSection.Options[idx].Name.Should().BeEquivalentTo(p.Name);
                filterSection.Options[idx].Description.Should().BeEquivalentTo(p.Description);
                filterSection.Options[idx].IsSelected.Should().Be(false);
                filterSection.Options[idx].ClearOtherOptionsIfSelected.Should().Be(p.ClearOtherOptionsIfSelected);
                filterSection.Options[idx].OptionKey.Should().BeEquivalentTo(p.OptionKey);
                idx++;
            }
        }