Completed
Push — master ( ea9d41...184c59 )
by Sergii
08:21
created

CollectionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInit() 0 10 1
1
<?php
2
namespace Tests\AppBundle\Sync\Entity;
3
4
/**
5
 * Collection tests
6
 *
7
 * @author Sergey Sadovoi <[email protected]>
8
 */
9
class CollectionTest extends \PHPUnit_Framework_TestCase
10
{
11
    public function testInit()
12
    {
13
        /**
14
         * @var \AppBundle\Sync\Entity\Collection $collection
15
         */
16
        $collection = $this->getMockForAbstractClass('\\AppBundle\\Sync\\Entity\\Collection');
17
        $this->assertEquals(0, $collection->count());
18
19
        $this->assertEquals(0, $collection->key());
20
    }
21
}
22