'Calls the underlying ``create_volume`` on
``_loopback_blockdevice_api``, but records the desired profile_name for
the purpose of test validation.'

def create_volume_with_profile(self, dataset_id, size, profile_name):

    volume = self._loopback_blockdevice_api.create_volume(dataset_id=dataset_id, size=size)
    self.dataset_profiles = self.dataset_profiles.set(volume.blockdevice_id, profile_name)
    return volume
