Completed
Push — master ( c4d705...5571d6 )
by Filipe
03:31
created

HtmlExtensionSpec   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 20
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of slick/web_stack package
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace spec\Slick\WebStack\Renderer\Extension;
11
12
use Slick\Template\EngineExtensionInterface;
13
use Slick\WebStack\Renderer\Extension\HtmlExtension;
14
use PhpSpec\ObjectBehavior;
15
use Slick\WebStack\Service\UriGeneratorInterface;
16
17
/**
18
 * HtmlExtensionSpec specs
19
 *
20
 * @package spec\Slick\WebStack\Renderer\Extension
21
 */
22
class HtmlExtensionSpec extends ObjectBehavior
23
{
24
25
    function let(UriGeneratorInterface $uriGenerator)
26
    {
27
        $this->beConstructedWith($uriGenerator);
28
    }
29
30
    function its_a_template_extension()
31
    {
32
        $this->shouldBeAnInstanceOf(EngineExtensionInterface::class);
33
    }
34
35
    function it_is_initializable()
36
    {
37
        $this->shouldHaveType(HtmlExtension::class);
38
    }
39
40
    
41
}