def METHOD_NAME(self):
    """Verify the method retrieves data from the User API and caches it."""
    username = Faker().user_name()
    user_data = {
        "username": username,
    }
    user_url = f"{self.site_configuration.user_api_url}accounts/{username}"
    responses.add(responses.GET, user_url, body=json.dumps(user_data), content_type=JSON, status=200)
    verification_data = {
        "username": "jdoe",
        "verified_name": "Jonathan Doe",
        "profile_name": "Jon Doe",
        "verification_attempt_id": 123,
        "proctored_exam_attempt_id": None,
        "is_verified": True,
        "use_verified_name_for_certs": False,
    }
    verification_url = f"{self.site_configuration.name_verification_api_url}?username={username}"
    responses.add(
        responses.GET, verification_url, body=json.dumps(verification_data), content_type=JSON, status=200
    )
    self.mock_access_token_response()
    expected_data = user_data
    expected_data["verified_name"] = "Jonathan Doe"
    expected_data["use_verified_name_for_certs"] = False
    actual = self.site_configuration.get_user_api_data(username)
    self.assertEqual(actual, expected_data)
    self.assertEqual(len(responses.calls), 3)
    # Verify the data is cached
    responses.reset()
    actual = self.site_configuration.get_user_api_data(username)
    self.assertEqual(actual, expected_data)
    self.assertEqual(len(responses.calls), 0)