Completed
Pull Request — master (#8)
by Miro
03:40
created

GithubTagConverterSpec::let()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
namespace spec\DevBoardLib\GithubObjectApiFacade\Repo\Tag\Converter;
3
4
use DevBoardLib\GithubCore\Repo\GithubRepo;
5
use DevBoardLib\GithubCore\Repo\GithubRepoId;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
9
class GithubTagConverterSpec extends ObjectBehavior
10
{
11
    public function it_is_initializable()
12
    {
13
        $this->shouldHaveType('DevBoardLib\GithubObjectApiFacade\Repo\Tag\Converter\GithubTagConverter');
14
    }
15
16
    public function let(GithubRepo $githubRepo, GithubRepoId $repoId)
17
    {
18
        $githubRepo->getId()->willReturn($repoId);
19
        $this->beConstructedWith($githubRepo);
20
    }
21
}
22