Completed
Push — master ( 91e054...12ace7 )
by Kamil
31:08 queued 26:39
created

SlideshowBlockSpec   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 17
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 4 1
A it_extends_slideshow_block_from_Symfony_CMF() 0 4 1
A it_is_a_Sylius_resource() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace spec\Sylius\Bundle\ContentBundle\Document;
13
14
use PhpSpec\ObjectBehavior;
15
use Prophecy\Argument;
16
use Sylius\Component\Resource\Model\ResourceInterface;
17
use Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock;
18
19
/**
20
 * @author Magdalena Banasiak <[email protected]>
21
 */
22
class SlideshowBlockSpec extends ObjectBehavior
23
{
24
    function it_is_initializable()
25
    {
26
        $this->shouldHaveType('Sylius\Bundle\ContentBundle\Document\SlideshowBlock');
27
    }
28
29
    function it_extends_slideshow_block_from_Symfony_CMF()
30
    {
31
        $this->shouldHaveType(SlideshowBlock::class);
32
    }
33
    
34
    function it_is_a_Sylius_resource()
35
    {
36
        $this->shouldImplement(ResourceInterface::class);
37
    }
38
}
39