Beispiel #1
0
 public void ChangeTransactionStatusThrows_When_TransactionWithThatIdDoesntExist()
 {
     Assert.Throws <ArgumentException>(() => chainblock.ChangeTransactionStatus(1, TransactionStatus.Successfull));
 }
        public void ChangeTransactionStatusShouldThrowWhenTransactionWithIdProvidedDoesntExist()
        {
            chainBlock.Add(validTransaction);

            Assert.Throws <ArgumentException>(() => chainBlock.ChangeTransactionStatus(7, validStatus));
        }