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

CollectionTest::testInit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
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