public void GetAccountsReturnsAccounts()
        {
            //Arrange: Instantiate AccountsController so its methods can be called
            var accountController = new AccountsController();

            //Act: Call the GetAccounts method
            IEnumerable<AccountModel> accounts = accountController.GetAccounts();

            //Assert: Verify that an array was returned with at least one element
            Assert.IsTrue(accounts.Count() > 0);
        }
        public void GetAccountsReturnAccounts()
        {
            //Arrange
            var accountsController = new AccountsController();

            //Act
            IQueryable<AccountModel> accounts = accountsController.GetAccounts();

            //Assert
            Assert.IsTrue(accounts.Count() > 0);

        }
        public void GetAccountsForCustomerReturnAccounts()
        {
            //Arrange
            var AccountsController = new AccountsController();

            //Act
            IHttpActionResult result = AccountsController.GetAccounts(1);

            //Assert
            //If action returns: NotFound()
            Assert.IsNotInstanceOfType(result, typeof(NotFoundResult));

            //If action returns: Ok()
            Assert.IsInstanceOfType(result, typeof(OkNegotiatedContentResult<IQueryable<AccountModel>>));

        }