public void AttributesFail() { var mountfs = new MountFileSystem(); Assert.Throws <FileNotFoundException>(() => mountfs.GetAttributes("/toto.txt")); Assert.Throws <FileNotFoundException>(() => mountfs.SetAttributes("/toto.txt", FileAttributes.Normal)); }