Пример #1
0
        public void GetElementType_Returns_ExpectedElementType(object response, Type expectedElementType)
        {
            HttpActionDescriptor actionDescriptor = new Mock <HttpActionDescriptor>().Object;

            Assert.Equal(expectedElementType, EnableQueryAttribute.GetElementType(response, actionDescriptor));
        }