public function testGetVirtualRelations()
 {
     $className = 'stdClass';
     $marketingList = $this->getMockBuilder('OroCRM\\Bundle\\MarketingListBundle\\Entity\\MarketingList')->disableOriginalConstructor()->getMock();
     $this->assertRepositoryCall($className, $marketingList);
     $this->doctrineHelper->expects($this->once())->method('getSingleEntityIdentifierFieldName')->with($className)->will($this->returnValue('id'));
     $result = $this->provider->getVirtualRelations($className);
     $this->assertArrayHasKey(MarketingListVirtualRelationProvider::RELATION_NAME, $result);
 }