code: def test_init_with_params(self):
      fetcher = LinkContentFetcher(
          raise_on_failure=False,
          user_agents=["test"],
          retry_attempts=1,
          timeout=2,
      )
      assert fetcher.raise_on_failure is False
      assert fetcher.user_agents == ["test"]
      assert fetcher.retry_attempts == 1
      assert fetcher.timeout == 2
  
file_path: haystack/test/components/fetchers/test_link_content_fetcher.py
imports: from unittest.mock import patch, Mock
  import pytest
  import requests
  from haystack.components.fetchers.link_content import LinkContentFetcher, text_content_handler, binary_content_handler, DEFAULT_USER_AGENT
label_desc: Use image node_id 2 for calling the TestLinkContentFetcher obj's underlying member method code with example usage: obj.test_init_with_params() without return types