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