public void PropertiesAreRegisteredWithPropertyChangeNotification()
{
Assert.IsNotNull(ClassWithPropertiesRegisteredByNonMagicStringOverload.IntPropertyWithPropertyChangeNoticationProperty.PropertyChangedEventHandler);
var random = new Random();
int maxPropertyChanges = random.Next(0, 15);
var instance = new ClassWithPropertiesRegisteredByNonMagicStringOverload();
for (int i = 0; i < maxPropertyChanges; i++)
{
instance.IntPropertyWithPropertyChangeNotication = random.Next(1000);
}
Assert.IsTrue(0 <= instance.IntPropertyWithPropertyChangeNoticationsCount && instance.IntPropertyWithPropertyChangeNoticationsCount <= maxPropertyChanges);
}