Completed
Pull Request — master (#3)
by Christian
03:02
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 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
ccs 0
cts 6
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
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