public void GetInvestments()
        {
            CreateFakeInvestmentContext();

            InvestmentController controller = new InvestmentController(db);

            // get all of the investments
            List <Investment> investments = controller.Get();

            // Asserts
            Assert.IsNotNull(investments);
        }
        public void GetInvestmentsForUser()
        {
            CreateFakeInvestmentContext();

            InvestmentController controller = new InvestmentController(db);

            // get the investments for userId = 1
            List <Investment> investments = controller.Get(1);

            // Asserts
            Assert.IsNotNull(investments);
            Assert.AreEqual(2, investments.Count());
        }