Exemple #1
0
        public void DisplayEmptySearchResultsMessagee_GivenZeroOrganisations_ShouldReturnTrue()
        {
            var model = new PatientSearchViewModel()
            {
                Items = new List <PatientViewModel>()
            };

            model.DisplayEmptySearchResultsMessage().Should().BeTrue();
        }
Exemple #2
0
        public void DisplayEmptySearchResultsMessage_GivenNullOrganisations_ShouldReturnFalse()
        {
            var model = new PatientSearchViewModel()
            {
                Items = null
            };

            model.DisplayEmptySearchResultsMessage().Should().BeFalse();
        }