public void SendAlertWhenCustomerPurchedItemReturnOk() { // Arrange AlertModel curerentAlertBody = new AlertModel() { CustomerName = "Tom", ItemPurchased = "Item1 Item2 Item3", }; // Act var createdResponse = _controller.SendAlert(curerentAlertBody); // Assert Assert.IsType <OkObjectResult>(createdResponse); }