public void IsFilterAttribute(NotifyErrorAttribute sut)
 {
     Assert.IsAssignableFrom<FilterAttribute>(sut);
 }
 public void OnExceptionWithNullFilterContextThrows(NotifyErrorAttribute sut)
 {
     var e = Assert.Throws<ArgumentNullException>(() => sut.OnException(null));
     Assert.Equal("filterContext", e.ParamName);
 }
 public void IsExceptionFilter(NotifyErrorAttribute sut)
 {
     Assert.IsAssignableFrom<IExceptionFilter>(sut);
 }