Code Duplication    Length = 11-11 lines in 2 locations

tests/Doctrine/Tests/ORM/Proxy/ProxyFactoryTest.php 2 locations

@@ 78-88 (lines=11) @@
75
        $proxy->getDescription();
76
    }
77
78
    public function testSkipMappedSuperClassesOnGeneration(): void
79
    {
80
        $cm = new ClassMetadata(\stdClass::class);
81
        $cm->isMappedSuperclass = true;
82
83
        self::assertSame(
84
            0,
85
            $this->proxyFactory->generateProxyClasses([$cm]),
86
            'No proxies generated.'
87
        );
88
    }
89
90
    /**
91
     * @group 6625
@@ 93-103 (lines=11) @@
90
    /**
91
     * @group 6625
92
     */
93
    public function testSkipEmbeddableClassesOnGeneration(): void
94
    {
95
        $cm = new ClassMetadata(\stdClass::class);
96
        $cm->isEmbeddedClass = true;
97
98
        self::assertSame(
99
            0,
100
            $this->proxyFactory->generateProxyClasses([$cm]),
101
            'No proxies generated.'
102
        );
103
    }
104
105
    /**
106
     * @group DDC-1771