'lun full clone to new volume fails correctly.'

def test_create_lun_from_lun_fails(self):

    failure = exception.ViolinBackendErr
    lun_info_response = {'subType': 'THICK'}
    copy_response = {'success': False, 'msg': ('Snapshot    Resource    is    not    created    ' + 'for    this    virtual    device.    Error:    0x0901008c')}
    conf = {'lun.get_lun_info.return_value': lun_info_response, 'lun.copy_lun_to_new_lun.return_value': copy_response}
    self.driver.vmem_mg = self.setup_mock_concerto(m_conf=conf)
    self.driver._ensure_snapshot_resource_area = mock.Mock()
    self.driver._send_cmd = mock.Mock(side_effect=failure(message='fail'))
    self.driver._get_storage_pool = mock.Mock(return_value=DEFAULT_THICK_POOL)
    self.assertRaises(failure, self.driver._create_lun_from_lun, SRC_VOL, VOLUME)
