示例#1
0
            public void ToFeatureOwnerVm_Should_Return_FeatureOwnerVm()
            {
                User result = new User("1", DateTime.Now, "*****@*****.**", "MyFirstName", "MyLastName", null, null, true);

                FeatureOwnerVm actual = FeatureModelHelper.ResultToFeatureOwnerVm(result);

                Assert.AreEqual("MyFirstName MyLastName", actual.Name);
            }
示例#2
0
            public void ToFeatureOwnerVm_Should_Throw_Exception_When_Result_Is_Null()
            {
                User result = null;

                FeatureOwnerVm actual = FeatureModelHelper.ResultToFeatureOwnerVm(result);
            }