def test_make_content(self):
        """Make sure make_content sends correct notifications."""
        with fsync_commit():
            filenode = self.vgw.make_file(self.root.id, 'the file name')
        self.dummy_notifier.reset()
        new_hash = self.factory.get_fake_hash()
        new_storage_key = uuid.uuid4()
        crc = 12345
        size = 11111
        def_size = 10000
        with fsync_commit():
            newnode = self.vgw.make_content(filenode.id, filenode.content_hash,
                                            new_hash, crc, size, def_size,
                                            new_storage_key)
        self.assertEqual(self.dummy_notifier.notifications, [
            VolumeNewGeneration(self.user.id, None, newnode.generation,
                                self.vgw.session_id)
        ])