예제 #1
0
        public async Task GetExpenses_CorrectData_ReturnListOfExpenses()
        {
            var getExpenses = await ExpensesControl.GetExpenses();

            Assert.IsInstanceOf(typeof(List <Expense>), getExpenses.Data);
        }
예제 #2
0
        public async Task GetExpenses_CorrectData_ReturnResponseObject()
        {
            var getExpenses = await ExpensesControl.GetExpenses();

            Assert.IsInstanceOf(typeof(Response), getExpenses);
        }