Пример #1
0
        public void Create_ItemHit_Null_TransactionId_Fail()
        {
            var hit = new ItemHit(TransactionId, ItemName);

            hit.TransactionId = null;
            Assert.False(hit.Validate());
        }
Пример #2
0
        public void Create_ItemHit_All_Validate_Success()
        {
            var hit = new ItemHit(TransactionId, ItemName);

            Assert.True(hit.Validate());
        }