Remove test the `[NotNull]` move makes irrelevant

This commit is contained in:
Doug Bunting 2015-05-06 14:47:05 -07:00
parent 8636477b85
commit efe39e43f5
1 changed files with 0 additions and 12 deletions

View File

@ -12,18 +12,6 @@ namespace Microsoft.AspNet.Routing.Tests
{
public class RouteOptionsTests
{
[Fact]
public void ConstraintMap_SettingNullValue_Throws()
{
// Arrange
var options = new RouteOptions();
// Act & Assert
var ex = Assert.Throws<ArgumentNullException>(() => options.ConstraintMap = null);
Assert.Equal("The 'ConstraintMap' property of 'Microsoft.AspNet.Routing.RouteOptions' must not be null." +
Environment.NewLine + "Parameter name: value", ex.Message);
}
[Fact]
public void ConfigureRouting_ConfiguresOptionsProperly()
{