System.IO.IsolatedStorage.GetCreationTimeTests.GetCreationTime_ThrowsIsolatedStorageException C# (CSharp) Method

GetCreationTime_ThrowsIsolatedStorageException() private method

private GetCreationTime_ThrowsIsolatedStorageException ( ) : void
return void
        public void GetCreationTime_ThrowsIsolatedStorageException()
        {
            using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())
            {
                isf.Remove();
                Assert.Throws<IsolatedStorageException>(() => isf.GetCreationTime("foo"));
            }
        }