Exemplo n.º 1
0
        public void OrderBy_SetOrderBy()
        {
            // Arrange
            ODataOptions options = new ODataOptions();

            Assert.False(options.QuerySettings.EnableOrderBy); // Guard

            // Act
            options.OrderBy();

            // Assert
            Assert.True(options.QuerySettings.EnableOrderBy);
        }