public void GetElementType_Returns_ExpectedElementType(object response, Type expectedElementType) { HttpActionDescriptor actionDescriptor = new Mock <HttpActionDescriptor>().Object; Assert.Equal(expectedElementType, QueryableAttribute.GetElementType(response, actionDescriptor)); }