public void Notification_Event_Modification_MajorAndMinor()
{
Subscription.Subscribe(Subscriber1, TestRoot, NotificationFrequency.Daily, "en", TESTSITEPATH, TESTSITEURL);
var content = Content.CreateNew("Car", TestRoot, "car_Modification_MajorAndMinor");
((GenericContent)content.ContentHandler).VersioningMode = ContentRepository.Versioning.VersioningType.MajorAndMinor;
content.Save();
Configuration.Enabled = true;
content.CheckOut(); // {V0.2.L}
content.ContentHandler.Index++;
content.Save(); // {V0.2.L}
content.CheckIn(); // {V0.2.D}
content.CheckOut(); // {V0.3.L}
content.ContentHandler.Index++;
content.Save(); // {V0.3.L}
content.UndoCheckOut(); // {V0.2.D}
content.CheckOut(); // {V0.3.L}
content.ContentHandler.Index++;
content.Save(); // {V0.3.L}
content.Publish(); // {V1.0.A}
Configuration.Enabled = false;
var events = (Event[])Event.GetAllEvents();
Assert.IsTrue(events.Length == 9, "#1");
Assert.IsTrue(events[0].NotificationType == NotificationType.MinorVersionModified, "#2");
Assert.IsTrue(events[1].NotificationType == NotificationType.MinorVersionModified, "#3");
Assert.IsTrue(events[2].NotificationType == NotificationType.MinorVersionModified, "#4");
Assert.IsTrue(events[3].NotificationType == NotificationType.MinorVersionModified, "#5");
Assert.IsTrue(events[4].NotificationType == NotificationType.MinorVersionModified, "#6");
Assert.IsTrue(events[5].NotificationType == NotificationType.MinorVersionModified, "#7");
Assert.IsTrue(events[6].NotificationType == NotificationType.MinorVersionModified, "#8");
Assert.IsTrue(events[7].NotificationType == NotificationType.MinorVersionModified, "#9");
Assert.IsTrue(events[8].NotificationType == NotificationType.MajorVersionModified, "#10");
}