Passed
Branch master (e8fd46)
by Alexey
02:50
created

GroupCountBasedDispatcherFactorySpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
1
<?php
2
3
namespace spec\Venta\Routing\Factory;
4
5
use FastRoute\Dispatcher\GroupCountBased;
6
use PhpSpec\ObjectBehavior;
7
8
class GroupCountBasedDispatcherFactorySpec extends ObjectBehavior
9
{
10
    function it_creates_group_count_based_dispatcher()
11
    {
12
        $this->create([[], []])->shouldBeAnInstanceOf(GroupCountBased::class);
13
    }
14
15
    function it_is_initializable()
16
    {
17
        $this->shouldImplement(\Venta\Contracts\Routing\FastrouteDispatcherFactory::class);
18
    }
19
}
20