code: def testBounded(self):
      barFeed = yahoofeed.Feed(maxLen=2)
      barFeed.addBarsFromCSV(
          FeedTestCase.TestInstrument,
          common.get_data_file_path("orcl-2000-yahoofinance.csv"),
          marketsession.USEquities.getTimezone(),
      )
      for dateTime, bars in barFeed:
          pass
  
      barDS = barFeed[FeedTestCase.TestInstrument]
      self.assertEqual(len(barDS), 2)
      self.assertEqual(len(barDS.getDateTimes()), 2)
      self.assertEqual(len(barDS.getCloseDataSeries()), 2)
      self.assertEqual(
          len(barDS.getCloseDataSeries().getDateTimes()), 2
      )
      self.assertEqual(len(barDS.getOpenDataSeries()), 2)
      self.assertEqual(len(barDS.getHighDataSeries()), 2)
      self.assertEqual(len(barDS.getLowDataSeries()), 2)
      self.assertEqual(len(barDS.getAdjCloseDataSeries()), 2)
  
imports: import datetime
  from .None import common
  from .None import barfeed_test
  from .None import feed_test
  from pyalgotrade.utils import dt
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.barfeed import csvfeed
  from pyalgotrade import bar
  from pyalgotrade import marketsession
label_desc: Use image node_id 21 for calling the FeedTestCase obj's underlying member method code with example usage: obj.testBounded() without return types