def METHOD_NAME(self,
                         mock_checkLV,
                         mock_SR):
    mock_checkLV.return_value = True
    sr_uuid = 1234
    vdi_uuid = 5678
    mpath_handle = 999
    mpathing = True
    sr = mock_SR.return_value
    sr.dconf = {}
    sr.mpath = mpathing
    sr.mpathhandle = mpath_handle
    sr.lock = "blah"
    vdi = LVHDoHBASR.LVHDoHBAVDI(sr, sr_uuid)
    vdi.path = "blahblah"
    stuff = vdi.generate_config(sr_uuid, vdi_uuid)
    load_object = xmlrpc.client.loads(stuff)
    load_object = xmlrpc.client.loads(load_object[0][0])
    self.assertEqual(load_object[0][0]["sr_uuid"], sr_uuid)
    self.assertEqual(load_object[0][0]["vdi_uuid"], vdi_uuid)
    self.assertEqual(load_object[0][0]["device_config"]["multipathing"],
                     mpathing)
    self.assertEqual(load_object[0][0]["device_config"]["multipathhandle"],
                     mpath_handle)