Esempio n. 1
0
        public void createAccountSuccessTest()
        {
            moqRepository.Setup(p => p.createAccount(1, "Savings")).Returns(new AccountCreationStatus
            {
                Message   = "Account has been created successfully",
                AccountId = 1
            });

            var result = providerObj.createAccount(1, "Savings");

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