public void IncludeDeletedItems_Disabled_WorksWithEmptyParameters()
        {
            var client = GetMockClient();
            RemoteTable <IdEntity> table = client.GetRemoteTable <IdEntity>("movies") as RemoteTable <IdEntity>;
            var query  = new TableQuery <IdEntity>(table);
            var actual = query.IncludeDeletedItems(false) as TableQuery <IdEntity>;

            Assert.False(actual.Parameters.ContainsKey("__includedeleted"));
        }
        public void IncludeDeletedItems_Enabled_ChangesKey()
        {
            var client = GetMockClient();
            RemoteTable <IdEntity> table = client.GetRemoteTable <IdEntity>("movies") as RemoteTable <IdEntity>;
            var query = new TableQuery <IdEntity>(table);

            query.Parameters.Add("__includedeleted", "test");
            var actual = query.IncludeDeletedItems() as TableQuery <IdEntity>;

            AssertEx.Contains("__includedeleted", "true", actual.Parameters);
        }