Completed
Push — master ( 211342...dcca72 )
by Michael
06:51
created

itProvidesFluentInterfaceFromWire()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Spec\Yapeal\Configuration;
3
4
use PhpSpec\ObjectBehavior;
5
6
/**
7
 * Class ErrorWiringSpec
8
 *
9
 * @mixin \Yapeal\Configuration\ErrorWiring
10
 */
11
class ErrorWiringSpec extends ObjectBehavior
12
{
13
    /**
14
     *
15
     */
16
    public function itIsInitializable()
17
    {
18
        $this->shouldHaveType('Yapeal\Configuration\ErrorWiring');
19
    }
20
    /**
21
     * @param \Yapeal\Container\ContainerInterface $dic
22
     */
23
    public function itProvidesFluentInterfaceFromWire($dic)
24
    {
25
        $this->wire($dic)
26
            ->shouldReturn($this);
27
    }
28
}
29