public void IsReusableTest() { AppInternalsHandler target = new AppInternalsHandler(); // TODO: Initialize to an appropriate value bool actual; actual = target.IsReusable; Assert.IsFalse(actual); }
public void AppInternalsHandlerConstructorTest() { AppInternalsHandler target = new AppInternalsHandler(); Assert.IsNotNull(target); }
public void ProcessRequestTest() { AppInternalsHandler target = new AppInternalsHandler(); // TODO: Initialize to an appropriate value HttpRequest request = new HttpRequest("","http://localhost/appinternals","format=json"); HttpResponse response = new HttpResponse(new StringWriter()); HttpContext.Current = new HttpContext(request,response); bool bl = false; try { target.ProcessRequest(HttpContext.Current); } catch { bl = true; } Assert.AreEqual(bl, false); }