Пример #1
0
        public async Task TestReturnAllInvestments()
        {
            InvestmentsController investmentsController = new InvestmentsController(LoadSampleDatabaseAndReturnContext());
            var result = await investmentsController.GetInvestments();

            //The result should be json and not null;
            Assert.IsNotNull(result);
        }