public void T207524()
        {
            VM vm = VM.Create();

            RealWindow.DataContext = vm;
            TaskbarButtonServiceTest taskbarServiceImpl = new TaskbarButtonServiceTest();
            TaskbarThumbButtonInfo   bt1 = new TaskbarThumbButtonInfo();
            TaskbarThumbButtonInfo   bt2 = new TaskbarThumbButtonInfo();
            TaskbarThumbButtonInfo   bt3 = new TaskbarThumbButtonInfo();

            BindingOperations.SetBinding(bt1, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
            BindingOperations.SetBinding(bt2, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
            BindingOperations.SetBinding(bt3, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
            taskbarServiceImpl.ThumbButtonInfos.Add(bt1);
            taskbarServiceImpl.ThumbButtonInfos.Add(bt2);
            taskbarServiceImpl.ThumbButtonInfos.Add(bt3);
            Interaction.GetBehaviors(RealWindow).Add(taskbarServiceImpl);
            EnqueueShowRealWindow();
            Assert.AreEqual(1, taskbarServiceImpl.UpdateInternalItemsCount);
            EnqueueTestComplete();
        }
 public void T207524() {
     VM vm = VM.Create();
     RealWindow.DataContext = vm;
     TaskbarButtonServiceTest taskbarServiceImpl = new TaskbarButtonServiceTest();
     TaskbarThumbButtonInfo bt1 = new TaskbarThumbButtonInfo();
     TaskbarThumbButtonInfo bt2 = new TaskbarThumbButtonInfo();
     TaskbarThumbButtonInfo bt3 = new TaskbarThumbButtonInfo();
     BindingOperations.SetBinding(bt1, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
     BindingOperations.SetBinding(bt2, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
     BindingOperations.SetBinding(bt3, TaskbarThumbButtonInfo.CommandProperty, new Binding("DoCommand"));
     taskbarServiceImpl.ThumbButtonInfos.Add(bt1);
     taskbarServiceImpl.ThumbButtonInfos.Add(bt2);
     taskbarServiceImpl.ThumbButtonInfos.Add(bt3);
     Interaction.GetBehaviors(RealWindow).Add(taskbarServiceImpl);
     EnqueueShowRealWindow();
     Assert.AreEqual(1, taskbarServiceImpl.UpdateInternalItemsCount);
     EnqueueTestComplete();
 }