public void TestExists() { string path = Path.GetTempFileName (); MediaFile mf = new MediaFile (); try { Assert.IsFalse (mf.Exists ()); mf.FilePath = path; Assert.IsTrue (mf.Exists ()); } finally { File.Delete (path); } }