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

            model.CanCreate().Should().BeTrue();
        }
Beispiel #2
0
        public void CanCreate_GivenNullOrganisations_ShouldReturnFalse()
        {
            var model = new PatientSearchViewModel();

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