/**
  * @depends testIsAttributeACalculatedGroupByModifier
  */
 public function testResolveRealAttributeName()
 {
     $model = new ReportModelTestItem();
     $rules = new ReportsTestReportRules();
     //ReportsTestModule rules
     $report = new Report();
     $report->setType(Report::TYPE_SUMMATION);
     $report->setModuleClassName('ReportsTestModule');
     $this->assertEquals('id', ModelRelationsAndAttributesToSummationReportAdapter::resolveRealAttributeName('Count'));
     $this->assertEquals('string', ModelRelationsAndAttributesToSummationReportAdapter::resolveRealAttributeName('string'));
     $this->assertEquals('owner', ModelRelationsAndAttributesToSummationReportAdapter::resolveRealAttributeName('owner__User'));
     $this->assertEquals('owner', ModelRelationsAndAttributesToSummationReportAdapter::resolveRealAttributeName('ReportsTestModel__owner__Inferred'));
 }