docstr: Test that api call returns a json file as requested
          
docstr_tok: ["Test","that","api","call","returns","a","json","file","as","requested"]
code: def test_fundamental_data(self, mock_request):
      """Test that api call returns a json file as requested"""
      fd = FundamentalData(key=TestAlphaVantage._API_KEY_TEST)
      url = "https://www.alphavantage.co/query?function=INCOME_STATEMENT&symbol=IBM&apikey=test"
      path_file = self.get_file_from_url("mock_fundamental_data")
      with open(path_file) as f:
          mock_request.get(url, text=f.read())
          data, _ = fd.get_income_statement_annual(symbol="IBM")
          self.assertIsInstance(
              data, df, "Result Data must be a pandas data frame"
          )
  
imports: from ..alpha_vantage.alphavantage import AlphaVantage
  from ..alpha_vantage.timeseries import TimeSeries
  from ..alpha_vantage.techindicators import TechIndicators
  from ..alpha_vantage.sectorperformance import SectorPerformances
  from ..alpha_vantage.foreignexchange import ForeignExchange
  from ..alpha_vantage.fundamentaldata import FundamentalData
  from pandas import DataFrame, Timestamp
  import unittest
  import sys
  import collections
  from os import path
  import requests_mock
label_desc: Use image node_id 15 for calling the TestAlphaVantage obj's underlying member method code with example usage: obj.test_fundamental_data(mock_request) without return types