Behat3ZendFramework3ExtensionSpec   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A it_should_be_behat3_zend_framework_extension() 0 5 1
A it_should_return_config_key() 0 5 1
1
<?php
2
declare(strict_types=1);
3
namespace spec\VirCom\Behat3ZendFramework3Extension\ServiceContainer;
4
5
use VirCom\Behat3ZendFramework3Extension\ServiceContainer\Behat3ZendFramework3Extension;
6
7
use Behat\Testwork\ServiceContainer\Extension;
8
9
use PhpSpec\ObjectBehavior;
10
11
use Prophecy\Argument;
12
13
class Behat3ZendFramework3ExtensionSpec extends ObjectBehavior
14
{
15
    public function it_should_be_behat3_zend_framework_extension()
16
    {
17
        $this->shouldHaveType(Behat3ZendFramework3Extension::class);
18
        $this->shouldImplement(Extension::class);
19
    }
20
    
21
    public function it_should_return_config_key()
22
    {
23
        $this->getConfigKey()
24
            ->shouldReturn(Behat3ZendFramework3Extension::SERVICE_CONTAINER_NAME);
25
    }
26
}
27