public void test_repository_usage()
 {
     RepositoryTestClass repositoryTest = new RepositoryTestClass();
     //IEnumerable<Order> orders = repositoryTest.GetOrders();
     
     //Assert.IsTrue(orders != null);
     IEnumerable<Account> accounts = repositoryTest.GetAccounts();
 }   
        public void test_repository_mocking()
        {
            List<Account> accounts = new List<Account>()
            {
                new Account() { AccountId = 1, Description = "Test Account 1", ShortCode="TST1"},
                new Account() { AccountId = 2, Description = "Test Account 2", ShortCode="TST2"}
            };

            Mock<IAccountRepository> mockAccountRepository = new Mock<IAccountRepository>();
            mockAccountRepository.Setup(obj => obj.Get()).Returns(accounts);

            RepositoryTestClass repositoryTest = new RepositoryTestClass(mockAccountRepository.Object);
            IEnumerable<Account> ret = repositoryTest.GetAccounts();

            Assert.IsTrue(ret == accounts);
        }