public void SetCorsEngine_NullCorsEngine_Throws() { Assert.ThrowsArgumentNull(() => { CorsHttpConfigurationExtensions.SetCorsEngine(new HttpConfiguration(), null); }, "corsEngine"); }
public void SetCorsEngine_NullHttpConfiguration_Throws() { Assert.ThrowsArgumentNull(() => { CorsHttpConfigurationExtensions.SetCorsEngine(null, new CorsEngine()); }, "httpConfiguration"); }