Completed
Pull Request — master (#11)
by Eugene
45:13
created

AzineContactMergerTest::testMerge()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Azine\HybridAuthBundle\Tests\Services;
4
5
use Azine\HybridAuthBundle\Services\AzineContactMerger;
6
use Azine\HybridAuthBundle\Tests\AzineTestCase;
7
8
class AzineContactMergerTest extends AzineTestCase
9
{
10
    public function testMerge()
11
    {
12
        $merger = new AzineContactMerger();
13
        $input = array('xing' => array('a', 'b', 'c', 'd'), 'linkedin' => array('e', 'f', 'g'));
14
        $output = array('a', 'b', 'c', 'd', 'e', 'f', 'g');
15
        $this->assertSame($output, $merger->merge($input));
16
    }
17
}
18