SearchIteratorSpec::it_is_initializable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
c 1
b 1
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace spec\Nekland\PlacesApi\Iterator;
4
5
use Nekland\PlacesApi\Api\Search;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
use Symfony\Bridge\Twig\Tests\Node\SearchAndRenderBlockNodeTest;
9
10
class SearchIteratorSpec extends ObjectBehavior
11
{
12
    function it_is_initializable()
13
    {
14
        $this->shouldHaveType('Nekland\PlacesApi\Iterator\SearchIterator');
15
        $this->shouldHaveType('\Iterator');
16
    }
17
18
    function let(Search $search)
19
    {
20
        $this->beConstructedWith($search, []);
21
    }
22
}
23