Example #1
0
        public void getAccountSuccessTest()
        {
            moqRepository.Setup(p => p.getAccount(1)).Returns(new Account()
            {
                AccountId   = 1,
                CustomerId  = 1,
                Balance     = 1000,
                AccountType = "Savings",
                minBalance  = 1000
            });

            var result = providerObj.getAccount(1);

            Assert.That(result, Is.Not.Null);
        }