Наследование: IOptionsViewModelParent, ISynchronizationProfilesViewModel
    public void SetUp()
    {
      _uiServiceStub = MockRepository.GenerateStub<IUiService>();


      // see http://stackoverflow.com/questions/3444581/mocking-com-interfaces-using-rhino-mocks
      // Castle.DynamicProxy.Generators.AttributesToAvoidReplicating.Add (typeof (TypeIdentifierAttribute));

      _optionTasksStub = MockRepository.GenerateStub<IOptionTasks>();
      _viewModel = new OptionsCollectionViewModel(
        new Contracts.GeneralOptions(),
        MockRepository.GenerateStub<IOutlookAccountPasswordProvider>(),
        new string[0],
        id => @"A:\bla",
        _uiServiceStub, 
        _optionTasksStub);
    }
 public bool ShowOptions(OptionsCollectionViewModel viewModel)
 {
   return false;
 }
    public bool ShowOptions (OptionsCollectionViewModel viewModel)
    {
      var window = new OptionsWindow();
      window.DataContext = viewModel;
      window.Icon = BitmapFrame.Create (new Uri ("pack://application:,,,/CalDavSynchronizer;component/Resources/ApplicationIcon.ico"));
      ElementHost.EnableModelessKeyboardInterop (window);

      viewModel.RequestBringIntoView += delegate
      {
        window.BringIntoView();
      };

      return window.ShowDialog().GetValueOrDefault (false);
    }