public void WriteTest() { var helloWorldController = new HelloWorldController(_writer); var response = helloWorldController.Write(); var statusCode = ((StatusCodeResult)response).StatusCode; Assert.IsTrue(statusCode == 200); }
public void WriteTest() { var helloWorldController = new HelloWorldController(_writer); var response = helloWorldController.Write(); var statusCode = ((StatusCodeResult)response).StatusCode; Assert.IsTrue(statusCode == 200); }