getProxyGenerator()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ProxyManagerTest\ProxyGenerator;
6
7
use ProxyManager\Proxy\VirtualProxyInterface;
8
use ProxyManager\ProxyGenerator\LazyLoadingValueHolderGenerator;
9
use ProxyManager\ProxyGenerator\ProxyGeneratorInterface;
10
11
/**
12
 * Tests for {@see \ProxyManager\ProxyGenerator\LazyLoadingValueHolderGenerator}
13
 *
14
 * @covers \ProxyManager\ProxyGenerator\LazyLoadingValueHolderGenerator
15
 * @group Coverage
16
 */
17
final class LazyLoadingValueHolderGeneratorTest extends AbstractProxyGeneratorTest
18
{
19
    /**
20
     * {@inheritDoc}
21
     */
22
    protected function getProxyGenerator() : ProxyGeneratorInterface
23
    {
24
        return new LazyLoadingValueHolderGenerator();
25
    }
26
27
    /**
28
     * {@inheritDoc}
29
     */
30
    protected function getExpectedImplementedInterfaces() : array
31
    {
32
        return [VirtualProxyInterface::class];
33
    }
34
}
35