示例#1
0
        public void TestNewContactProperties()
        {
            var contact = new app.Models.Contact();

            Assert.True(string.IsNullOrEmpty(contact.LastName));
            Assert.True(string.IsNullOrEmpty(contact.FirstName));
            Assert.True(string.IsNullOrEmpty(contact.Email));
            Assert.True(string.IsNullOrEmpty(contact.Phone));
        }
示例#2
0
        public void Test1()
        {
            var contact = new aspnetCoreReactTemplate.Models.Contact();

            Assert.True(string.IsNullOrEmpty(contact.email));
        }