/**
  * Gets the list of configs for entities which can be the target of the association
  *
  * @return array
  */
 protected function getTargetEntities()
 {
     if (null === $this->targetEntities) {
         $targetEntityClasses = $this->identifyProvider->getTargetIdentityEntities();
         $configs = $this->configManager->getProvider('extend')->getConfigs();
         foreach ($configs as $config) {
             if ($config->is('upgradeable') && in_array($config->getId()->getClassName(), $targetEntityClasses)) {
                 $this->targetEntities[] = $config->getId()->getClassName();
             }
         }
     }
     return $this->targetEntities;
 }
 public function testGetTargetIdentityEntities()
 {
     $this->assertEquals(['\\stdClassIdentity'], $this->provider->getTargetIdentityEntities());
 }