public void GetCreationTime_GetsTime_Windows_OSX()
{
using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())
{
string file = "GetCreationTime_GetsTime";
isf.CreateTestFile(file);
// Filesystem timestamps vary in granularity, we can't make a positive assertion that
// the time will come before or after the current time.
Assert.True(TestHelper.IsTimeCloseToNow(isf.GetCreationTime(file)));
}
}
}