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

ErrorWiringSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A itIsInitializable() 0 4 1
A itProvidesFluentInterfaceFromWire() 0 5 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