Exemple #1
0
        public void ValidCurrentAccountOpeningTest()
        {
            //Arrange
            var     cust_id        = "8957f797-1123-4294-8b2c-afcd530a92b4";
            decimal InitialDeposit = 1000.00m;
            var     acct           = new CurrentAccount()
            {
                AcctNumber  = "7537519107",
                AcctBalance = InitialDeposit,
                AcctType    = "Current",
                CustomerId  = cust_id,
                DateCreated = DateTime.Now
            };

            //Act
            var actual   = _current.OpenAccount(acct);
            var expected = true;

            //Assert
            Assert.Equal(expected, actual);
        }