예제 #1
0
        public void When_PropertyChangedEventArgsEx_Then_Returns_UserData()
        {
            // Arrange
            var sut = new PropertyChangedEventArgsEx("A Property", new Object());

            // Act
            var res = sut.UserDataOrDefault();

            // Assert
            Assert.AreEqual(sut.UserData, res);
        }