public function testGetSecondSeriesValueCount() { $data = array(); $secondSeriesValueData = array(); $secondSeriesDisplayLabels = array(); $secondSeriesValueCount = 5; $chart = new ChartForReportForm(); $chart->type = 'Bar2D'; $chart->firstSeries = 'dropDown'; $chart->firstRange = 'float__Summation'; $chart->secondSeries = 'radioDropDown'; $chart->secondRange = 'integer__Summation'; $report = new Report(); $report->setChart($chart); $adapter = new ReportDataProviderToAmChartMakerAdapter($report, $data, $secondSeriesValueData, $secondSeriesDisplayLabels, $secondSeriesValueCount); $this->assertEquals(5, $adapter->getSecondSeriesValueCount()); }