Example #1
0
        public void HasOrganisations_GivenZeroOrganisations_ShouldReturnFalse()
        {
            var model = new PatientSearchViewModel()
            {
                Items = new List <PatientViewModel>().AsEnumerable()
            };

            model.HasResult().Should().BeFalse();
        }
Example #2
0
        public void HasOrganisations_GivenNullOrganisations_ShouldReturnFalse()
        {
            var model = new PatientSearchViewModel();

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