Completed
Push — 2.0 ( 31dadf )
by Stig
03:09
created

CropEntropySpec::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\Stojg\Crop;
4
5
use PhpSpec\ObjectBehavior;
6
use Prophecy\Argument;
7
8
class CropEntropySpec extends ObjectBehavior
9
{
10
    function it_is_initializable()
1 ignored issue
show
Coding Style introduced by
Method name "CropEntropySpec::it_is_initializable" is not in camel caps format
Loading history...
11
    {
12
        $this->shouldHaveType('Stojg\Crop\CropEntropy');
13
    }
14
15
    function it_can_recieve_imagemagic_object_on_construct() {
1 ignored issue
show
Coding Style introduced by
Method name "CropEntropySpec::it_can_recieve_imagemagic_object_on_construct" is not in camel caps format
Loading history...
16
        $this->beConstructedWith(new \Imagick());
17
        $this->shouldHaveType('Stojg\Crop\CropEntropy');
18
    }
19
20
    function it_cannot_recieve_non_imagemagic_on_construct() {
1 ignored issue
show
Coding Style introduced by
Method name "CropEntropySpec::it_cannot_recieve_non_imagemagic_on_construct" is not in camel caps format
Loading history...
21
        $this->beConstructedWith("asdds");
22
        $this->shouldHaveType('Stojg\Crop\CropEntropy');
23
    }
24
}
25