예제 #1
0
        public void ModelIsSetOnConstructorForNonGeneric()
        {
            var model = new List <string>();
            var vm    = new MyNonGenericViewModel(model);

            vm.Model.Should().Be(model);
        }
예제 #2
0
        public void ModelIsSetToNullIfNotPassedToConstructorForNonGeneric()
        {
            var vm = new MyNonGenericViewModel();

            vm.Model.Should().BeNull();
        }