Пример #1
0
        public void HasId_IsNew_False()
        {
            var hasId = new HasId()
            {
                Id = 100500
            };

            Assert.False(hasId.IsNew());
        }
Пример #2
0
        public void HasId_IsNew_False()
        {
            var hasId = new HasId()
            {
                Id = 100500
            };

            Assert.False(hasId.IsNew());
        }
Пример #3
0
 public void HasId_IsNew_True()
 {
     var hasId = new HasId();
     Assert.True(hasId.IsNew());
 }
Пример #4
0
        public void HasId_IsNew_True()
        {
            var hasId = new HasId();

            Assert.True(hasId.IsNew());
        }