Example #1
0
        public void getAccountStatementSuccessTest()
        {
            moqRepository.Setup(p => p.getAccountStatement(1, It.IsAny <DateTime>(), It.IsAny <DateTime>())).Returns(new List <Statement> {
                new Statement()
                {
                }
            });

            var result = providerObj.getAccountStatement(1, DateTime.Now.AddMonths(-1), DateTime.Now);

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