'``CreateBlockDeviceDataset.run`` uses the ``IDeployer``\ \'s API object
to create a new volume, and logs that profile dropped during creation
if the backend does not provide ``IProfiledBlockDeviceAPI``.'

@capture_logging(assertHasMessage, CREATE_VOLUME_PROFILE_DROPPED)
def test_run_create_profile_dropped(self, logger):

    self.assertFalse(IProfiledBlockDeviceAPI.providedBy(self.api), u'This    test    assumes    the    API    does    not    provide    IProfiledBlockDeviceAPI.    If    the    API    now    does    provide    that    interface,    this    test    needs    a    bit    of    love.')
    dataset_id = uuid4()
    volume = self._create_blockdevice_dataset(dataset_id=dataset_id, maximum_size=LOOPBACK_MINIMUM_ALLOCATABLE_SIZE, metadata={PROFILE_METADATA_KEY: u'gold'})
    expected_volume = _blockdevicevolume_from_dataset_id(dataset_id=dataset_id, attached_to=None, size=LOOPBACK_MINIMUM_ALLOCATABLE_SIZE)
    self.assertEqual(expected_volume, volume)
