public async void Task_Delete_ValidData_Return_OkResult() { //Arrange var Id = 1; //Act var result = await _controller.DeletePayments(Id); //Assert Assert.IsType <OkObjectResult>(result); }