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