public void FiltersToOverrideReturnsCorrectType() { var wrapper = new AuthorizationFilterOverrideWrapper(new FilterMetadata()); Assert.That(wrapper.FiltersToOverride, Is.EqualTo(typeof(IAuthorizationFilter))); }
public void MetadataKeyReturnsOverrideValue() { var wrapper = new AuthorizationFilterOverrideWrapper(new FilterMetadata()); Assert.That(wrapper.MetadataKey, Is.EqualTo(AutofacWebApiFilterProvider.AuthorizationFilterOverrideMetadataKey)); }