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

HttpApplicationSpec::it_is_initializable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace spec\Venta\Framework\Http;
4
5
use PhpSpec\ObjectBehavior;
6
use Venta\Contracts\Container\Container;
7
use Venta\Contracts\Kernel\Kernel;
8
use Venta\Framework\Http\HttpApplication;
9
10
class HttpApplicationSpec extends ObjectBehavior
11
{
12
    function let(Kernel $kernel, Container $container)
13
    {
14
        $kernel->boot()->willReturn($container);
15
        $this->beConstructedWith($kernel);
16
    }
17
18
    function it_is_initializable()
19
    {
20
        $this->shouldHaveType(HttpApplication::class);
21
    }
22
}
23