Code Duplication    Length = 8-8 lines in 2 locations

src/Oro/Bundle/EntityConfigBundle/Tests/Unit/Config/ConfigManagerTest.php 2 locations

@@ 697-704 (lines=8) @@
694
        ];
695
    }
696
697
    public function testClearEntityCache()
698
    {
699
        $configId = new EntityConfigId('entity', self::ENTITY_CLASS);
700
        $this->configCache->expects($this->once())
701
            ->method('deleteEntityConfig')
702
            ->with($configId->getClassName());
703
        $this->configManager->clearCache($configId);
704
    }
705
706
    public function testClearFieldCache()
707
    {
@@ 706-713 (lines=8) @@
703
        $this->configManager->clearCache($configId);
704
    }
705
706
    public function testClearFieldCache()
707
    {
708
        $configId = new FieldConfigId('entity', self::ENTITY_CLASS, 'field');
709
        $this->configCache->expects($this->once())
710
            ->method('deleteFieldConfig')
711
            ->with($configId->getClassName(), $configId->getFieldName());
712
        $this->configManager->clearCache($configId);
713
    }
714
715
    public function testClearCacheAll()
716
    {