public virtual void TestAppenderDefined() { HttpRequestLogAppender requestLogAppender = new HttpRequestLogAppender(); requestLogAppender.SetName("testrequestlog"); Logger.GetLogger("http.requests.test").AddAppender(requestLogAppender); RequestLog requestLog = HttpRequestLog.GetRequestLog("test"); Logger.GetLogger("http.requests.test").RemoveAppender(requestLogAppender); NUnit.Framework.Assert.IsNotNull("RequestLog should not be null", requestLog); Assert.Equal("Class mismatch", typeof(NCSARequestLog), requestLog .GetType()); }