CollectorCollectionFactoryTest::setUp()   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
use Flagbit\Bundle\MetricsBundle\Collector\CollectorCollection;
4
use Flagbit\Bundle\MetricsBundle\Collector\Factory\CollectorCollectionFactory;
5
use PHPUnit\Framework\TestCase;
6
7
class CollectorCollectionFactoryTest extends TestCase
8
{
9
    /**
10
     * @var CollectorCollectionFactory
11
     */
12
    private $factory;
13
14
    protected function setUp()
15
    {
16
        $this->factory = new CollectorCollectionFactory();
17
    }
18
19
    public function testCreate()
20
    {
21
        $this->assertInstanceOf(
22
            CollectorCollection::class,
23
            $this->factory->create()
24
        );
25
    }
26
} 
27