'If a volume is attached but the ``IBlockDeviceAPI`` returns a path that
is not a block device, an error is logged and no manifestation
corresponding to the volume is included in the discovered state.'

@capture_logging(assertHasMessage, INVALID_DEVICE_PATH, {u'invalid_value': FilePath('/definitely/wrong')})
def test_attached_with_incorrect_device_path(self, logger):

    self.patch(blockdevice, '_logger', logger)
    self._incorrect_device_path_test(FilePath('/definitely/wrong'))
