Completed
Push — master ( 56557e...bc0eb2 )
by Julián
02:54
created

AbstractRecipientTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 7 1
A testDefaults() 0 4 1
1
<?php
2
/**
3
 * Push notification services abstraction (http://github.com/juliangut/tify)
4
 *
5
 * @link https://github.com/juliangut/tify for the canonical source repository
6
 *
7
 * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
 */
9
10
namespace Jgut\Tify\Tests\Recipient;
11
12
/**
13
 * @covers \Jgut\Tify\Recipient\AbstractRecipient
14
 */
15
class AbstractRecipientTest extends \PHPUnit_Framework_TestCase
16
{
17
    protected $recipient;
18
19
    public function setUp()
20
    {
21
        $this->recipient = $this->getMockForAbstractClass(
22
            '\Jgut\Tify\Recipient\AbstractRecipient',
23
            ['9a4ecb987ef59c88b12035278b86f26d44883593']
24
        );
25
    }
26
27
    /**
28
     * @covers \Jgut\Tify\Recipient\AbstractRecipient::getToken
29
     */
30
    public function testDefaults()
31
    {
32
        $this->assertNull($this->recipient->getToken());
33
    }
34
}
35