public function testHasInheritancesConfigured()
 {
     $config = $this->getMockBuilder('Oro\\Bundle\\EntityConfigBundle\\Config\\Config')->disableOriginalConstructor()->getMock();
     $config->expects($this->once())->method('getValues')->willReturn(['inheritance_targets' => ['test']]);
     $this->configManager->expects($this->once())->method('hasConfigEntityModel')->with('test')->willReturn(true);
     $this->configManager->expects($this->once())->method('getEntityConfig')->with('activity', 'test')->willReturn($config);
     $result = $this->activityInheritanceTargetsHelper->hasInheritances('test');
     $this->assertTrue($result);
 }