public override string ToString() { return string.Format("FSEvent with type \"{0}\" on path \"{1}\" and the name \"{2}\"", this.Type, this.LocalPath, this.Name); } }
public void FSEventTest() { ISyncEvent e = new FSEvent(WatcherChangeTypes.Created, "test"); Assert.AreEqual("FSEvent with type \"Created\" on path \"test\"",e.ToString()); }