public void PropertyChangingEventIsInvoked()
    {
        var test           = new ObservableObjectTestClass();
        var recordedEvents = new List <PropertyChangingEventArgs>();

        test.PropertyChanging += (s, e) =>
        {
            Assert.AreSame(test, s);
            recordedEvents.Add(e);
        };
        test.InvokeOnPropertyChanging(nameof(ObservableObjectTestClass.TestField));
        Assert.AreEqual(1, recordedEvents.Count);
    }
    public void DoesNotThrowWhenNoPropertyChangedEventRegistered()
    {
        var test = new ObservableObjectTestClass();

        test.InvokeOnPropertyChanging(nameof(ObservableObjectTestClass.TestField));
    }