Completed
Branch 2.x (c99d86)
by Julián
08:01
created

AbstractReceiverTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * Unified push notification services abstraction (http://github.com/juliangut/tify).
5
 *
6
 * @license BSD-3-Clause
7
 * @link https://github.com/juliangut/tify
8
 * @author Julián Gutiérrez <[email protected]>
9
 */
10
11
namespace Jgut\Tify\Tests\Receiver;
12
13
use Jgut\Tify\Receiver\AbstractReceiver;
14
15
/**
16
 * AbstractReceiver tests.
17
 */
18
class AbstractReceiverTest extends \PHPUnit_Framework_TestCase
19
{
20
    /**
21
     * @var AbstractReceiver
22
     */
23
    protected $receiver;
24
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function setUp()
29
    {
30
        $this->receiver = $this->getMockForAbstractClass(
31
            AbstractReceiver::class,
32
            ['9a4ecb987ef59c88b12035278b86f26d44883593']
33
        );
34
    }
35
36
    public function testDefaults()
37
    {
38
        self::assertNull($this->receiver->getToken());
39
    }
40
}
41