public void Notification_Event_MoveWithDeepSubscription()
{
var source = Content.CreateNew("Folder", TestRoot, "source");
source.Save();
var subFolder = Content.CreateNew("Folder", source.ContentHandler, "folder1");
subFolder.Save();
var doc = Content.CreateNew("Car", subFolder.ContentHandler, "car_MoveWithDeepSubscription");
doc.Save();
var target = Content.CreateNew("Folder", TestRoot, "target");
target.Save();
Subscription.Subscribe(Subscriber1, doc.ContentHandler, NotificationFrequency.Daily, "en", TESTSITEPATH, TESTSITEURL);
Configuration.Enabled = true;
source.ContentHandler.MoveTo(target.ContentHandler);
Configuration.Enabled = false;
var events = (Event[])Event.GetAllEvents();
Assert.IsTrue(events.Length == 2, "#1");
Assert.IsTrue(events[0].NotificationType == NotificationType.MovedTo, "#2");
Assert.IsTrue(events[0].ContentPath == String.Format("{0}/source", TestRoot.Path), "#3");
Assert.IsTrue(events[1].NotificationType == NotificationType.MovedFrom, "#4");
Assert.IsTrue(events[1].ContentPath == String.Format("{0}/target/source", TestRoot.Path), "5");
}