Completed
Push — master ( 456549...47da6e )
by Łukasz
02:25
created

CandidatesFinderSpec   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_should_find_candidates() 0 5 1
1
<?php
2
3
namespace spec\Tworzenieweb\SqlProvisioner\Filesystem;
4
5
use Tworzenieweb\SqlProvisioner\Filesystem\CandidatesFinder;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
9
/**
10
 * Class CandidatesFinderSpec
11
 * @package spec\Tworzenieweb\SqlProvisioner\Filesystem
12
 * @mixin CandidatesFinder
13
 */
14
class CandidatesFinderSpec extends ObjectBehavior
15
{
16
    function it_should_find_candidates()
17
    {
18
        $results = $this->find(__DIR__ . DIRECTORY_SEPARATOR . 'fixture/finder');
19
        $results->count()->shouldReturn(1);
20
    }
21
}
22