aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/ControllerModelValuesTest.cs

24 lines
710 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 ControllerModelValuesTest
{
[Fact]
public void ControllerModelValues_IncludesAllProperties()
{
// Arrange
var exclude = new[] { "Application" };
// Assert
PropertiesAssert.PropertiesAreTheSame(
typeof(ControllerModel),
typeof(ControllerModelValues),
exclude);
}
}
}