Completed
Push — master ( 18349c...3247f7 )
by Christian
02:16
created

AccountSpec::its_properties_can_be_read()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace spec\Xabbuh\XApi\Model;
4
5
use PhpSpec\ObjectBehavior;
6
7
class AccountSpec extends ObjectBehavior
8
{
9
    function its_properties_can_be_read()
10
    {
11
        $this->beConstructedWith('test', 'https://tincanapi.com');
12
13
        $this->getName()->shouldReturn('test');
14
        $this->getHomePage()->shouldReturn('https://tincanapi.com');
15
    }
16
}
17