Completed
Push — master ( 2bedd9...b42c0c )
by Christian
02:23
created

AccountSpec   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the xAPI package.
5
 *
6
 * (c) Christian Flothmann <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace spec\Xabbuh\XApi\Model;
13
14
use PhpSpec\ObjectBehavior;
15
16
class AccountSpec extends ObjectBehavior
17
{
18
    function its_properties_can_be_read()
19
    {
20
        $this->beConstructedWith('test', 'https://tincanapi.com');
21
22
        $this->getName()->shouldReturn('test');
23
        $this->getHomePage()->shouldReturn('https://tincanapi.com');
24
    }
25
}
26