예제 #1
0
        public async Task Get_All_Employee_Charges()
        {
            OkObjectResult result = (await _employeesController.EmployeeCharges()).Result as OkObjectResult;

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Value);
            Assert.IsInstanceOf <IEnumerable <EmployeeChargeViewModel> >(result.Value);
        }