aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/AttributeRouteInfoValuesTes...

24 lines
723 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc.ApplicationModels;
using Xunit;
namespace Microsoft.AspNet.Mvc.Logging
{
public class AttributeRouteInfoValuesTest
{
[Fact]
public void AttributeRouteModelValues_IncludesAllProperties()
{
// Arrange
var exclude = new[] { "Attribute" };
// Assert
PropertiesAssert.PropertiesAreTheSame(
typeof(AttributeRouteModel),
typeof(AttributeRouteModelValues),
exclude);
}
}
}