def METHOD_NAME(self):
    restoreFile = os.path.join(self.include.name, 'test')
    self.prepairFileInfo(restoreFile)
    self.sn.restore(self.sid, restoreFile)
    self.assertIsFile(restoreFile)
    with open(restoreFile, 'rt') as f:
        self.assertEqual(f.read(), 'bar')
    self.assertEqual(33260, os.stat(restoreFile).st_mode)