def test_restore_file(self):
        """Test delete increments generation."""
        self.assertEqual(self.volume.generation, 0)
        node = self.vgw.make_file(self.vgw.get_root().id, 'The FIle')
        node = self.vgw.delete_node(node.id)
        node = self.vgw.restore_node(node.id)
        self.assertEqual(node.generation, 3)
        self.assertEqual(node.generation_created, 1)
        self.assertEqual(self.volume.generation, 3)