def test_make_file_with_content(self):
        """Test make_file_with_content increments generation."""
        name = 'filename'
        a_hash = self.factory.get_fake_hash()
        storage_key = uuid.uuid4()
        crc = 12345
        size = 100
        deflated_size = 10000
        a_file = self.vgw.make_file_with_content(
            self.vgw.get_root().id, name, a_hash, crc, size, deflated_size,
            storage_key)
        self.assertEqual(self.volume.generation, 2)
        self.assertEqual(a_file.generation, 2)