public void TestGetRequest(string url, int expectedStatusCode, string expectedStatusDescription) { // Arrange GetRequest request = new GetRequest(url); // Act request.MakeRequest(); // Assert Assert.AreEqual(expectedStatusCode, request.StatusCode, "Status code"); Assert.AreEqual(expectedStatusDescription, request.StatusDescription, "Status description"); }