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); }