public void ContainsNotification() { var propertyDefinition = DefinitionFinder.FindProperty(() => new NonVirtual().WithNotifactionProperty); var message = TypeProcessor.AlreadyContainsNotification(propertyDefinition, "OnPropertyChanged"); Assert.IsTrue(message); }