Completed
Pull Request — develop (#48)
by Hugo
04:02
created

ItemsTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 13
rs 10
1
<?php
2
namespace PHPSC\PagSeguro\Items;
3
4
use Doctrine\Common\Collections\ArrayCollection;
5
6
/**
7
 * @author Renato Moura <[email protected]>
8
 */
9
class ItemsTest extends \PHPUnit_Framework_TestCase
10
{
11
    /**
12
     * @test
13
     */
14
    public function constructorShouldInstanceOf()
15
    {
16
        $items = new Items;
17
18
        $this->assertInstanceOf(ArrayCollection::class, $items);
19
        $this->assertInstanceOf(ItemCollection::class, $items);
20
    }
21
}
22