Passed
Branch master (e8fd46)
by Alexey
03:15
created

ObjectInflectorSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
rs 10
c 1
b 0
f 0
wmc 2
lcom 0
cbo 1
1
<?php
2
3
namespace spec\Venta\Container;
4
5
use PhpSpec\ObjectBehavior;
6
use Venta\Container\ObjectInflector;
7
use Venta\Contracts\Container\ArgumentResolver;
8
use Venta\Contracts\Container\ObjectInflector as ObjectInflectorContract;
9
10
class ObjectInflectorSpec extends ObjectBehavior
11
{
12
    function let(ArgumentResolver $resolver)
13
    {
14
        $this->beConstructedWith($resolver);
15
    }
16
17
    function it_is_initializable()
18
    {
19
        $this->shouldHaveType(ObjectInflector::class);
20
        $this->shouldImplement(ObjectInflectorContract::class);
21
    }
22
}
23