public void Owner_WhenSet_RaisesPropertyChanged()
        {
            const string newOwner = "test";

            var test = new Delegation();

            test.AssertThatChangeNotificationIsRaisedBy(x => x.Owner).When(() => test.Owner = newOwner);
            Assert.Equal(newOwner, test.Owner);
        }
        public void DelegationDate_WhenSet_RaisesPropertyChanged()
        {
            DateTime newDelegationDate = DateTime.Today.ToUniversalTime();

            var test = new Delegation();

            test.AssertThatChangeNotificationIsRaisedBy(x => x.DelegationDate).When(
                () => test.DelegationDate = newDelegationDate);
            Assert.Equal(newDelegationDate, test.DelegationDate);
        }