/**
  * @depends testIsDisplayAttributeMadeViaSelect
  */
 public function testIsAttributeACalculationOrModifier()
 {
     $model = new ReportModelTestItem();
     $rules = new ReportsTestReportRules();
     //ReportsTestModule rules
     $report = new Report();
     $report->setType(Report::TYPE_SUMMATION);
     $report->setModuleClassName('ReportsTestModule');
     $adapter = new ModelRelationsAndAttributesToSummationReportAdapter($model, $rules, $report->getType());
     $this->assertTrue($adapter->isAttributeACalculationOrModifier('Count'));
     $this->assertFalse($adapter->isAttributeACalculationOrModifier('phone'));
     $this->assertTrue($adapter->isAttributeACalculationOrModifier('date__Day'));
     $this->assertTrue($adapter->isAttributeACalculationOrModifier('integer__Maximum'));
 }