public void UrlConstructorTest()
 {
     var exception = new SolrConnectionException(innerException, url);
     Assert.IsInstanceOfType<WebException>(exception.InnerException);
     Assert.AreEqual(innerExceptionMessage, exception.Message);
     Assert.AreEqual(url, exception.Url);
 }
 public void HttpStatusCodeConstructorTest()
 {
     var exception = new SolrConnectionException(message, innerException, url, solrErrorStatus);
     Assert.IsInstanceOfType<WebException>(exception.InnerException);
     Assert.AreEqual(message, exception.Message);
     Assert.AreEqual(url, exception.Url);
     Assert.AreEqual(solrErrorStatus, exception.SolrHttpStatusCode);
 }
 public void MessageConstructorTest()
 {
     var exception = new SolrConnectionException(message);
     Assert.AreEqual(message, exception.Message);
 }