def METHOD_NAME(
    self,
):
    """
    If the correct device name is provided and the resource id and azure
    location used are correct, check_connection should return True.
    The provider_connected attribute should be updated to True.
    The qpu_connected attribute should be updated to True.
    """
    device_obj = DeviceAzure(
        device_name="", resource_id=self.RESOURCE_ID, az_location=self.AZ_LOCATION
    )
    device_obj.check_connection()
    valid_qpu_name = device_obj.available_qpus[0]
    device_obj = DeviceAzure(
        device_name=valid_qpu_name,
        resource_id=self.RESOURCE_ID,
        az_location=self.AZ_LOCATION,
    )
    self.assertEqual(device_obj.check_connection(), True)
    self.assertEqual(device_obj.provider_connected, True)
    self.assertEqual(device_obj.qpu_connected, True)