SearchIteratorSpec   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 1
Metric Value
wmc 2
c 1
b 1
f 1
lcom 0
cbo 1
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 5 1
A let() 0 4 1
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