'``CreateDataset.run()`` returns a ``Deferred`` that fires with the
created volume.'

def test_return(self):

    deployer = P2PManifestationDeployer(u'example.com', create_volume_service(self))
    volume = APPLICATION_WITH_VOLUME.volume
    create = CreateDataset(dataset=volume.dataset)
    result = self.successResultOf(create.run(deployer, state_persister=InMemoryStatePersister()))
    self.assertEqual(result, deployer.volume_service.get(_to_volume_name(volume.dataset.dataset_id)))
