/// <summary>
    /// Tests the observable enumerable methods.
    /// </summary>
    private static void TestObservableCollection()
    {
        Console.WriteLine("ObservableCollection Test:");
        Console.WriteLine(string.Empty);
        var observableCollection = new ObservableCollection <string>();

        observableCollection.AddIfNotExists("a");
        observableCollection.AddIfNotExists("a");
        observableCollection.AddIfNotExists("b");
        PrintIEnumerableToConsole(observableCollection, "ObservableCollection");
        observableCollection.DeleteIfExists("a");
        PrintIEnumerableToConsole(observableCollection, "ObservableCollection");
        observableCollection.UpdateValue("b", "c");
        PrintIEnumerableToConsole(observableCollection, "ObservableCollection");
        observableCollection.DeleteIfExists("c");
        PrintIEnumerableToConsole(observableCollection, "ObservableCollection");
        Print(observableCollection.AreValuesNull());
        var observableCollection1 = new ObservableCollection <string>();
        var observableCollection2 = observableCollection1.Clone();

        observableCollection2.Add("Abc");
        PrintIEnumerableToConsole(observableCollection1, "ObservableCollection");
        PrintIEnumerableToConsole(observableCollection2, "ObservableCollection");
    }