LazyLoadingValueHolderGeneratorTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getProxyGenerator() 0 4 1
A getExpectedImplementedInterfaces() 0 4 1
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