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

ArgumentResolverSpec   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 Venta\Container\ArgumentResolver;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
use Venta\Contracts\Container\ArgumentResolver as ArgumentResolverContract;
9
use Venta\Contracts\Container\Container;
10
11
class ArgumentResolverSpec extends ObjectBehavior
12
{
13
    function let(Container $container)
14
    {
15
        $this->beConstructedWith($container);
16
    }
17
18
    function it_is_initializable()
19
    {
20
        $this->shouldHaveType(ArgumentResolver::class);
21
        $this->shouldImplement(ArgumentResolverContract::class);
22
    }
23
}
24