Completed
Push — master ( 8bbd25...4edf95 )
by Андрей
02:21
created

EntryNameResolverIntegrationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testLoadModule() 0 9 1
1
<?php
2
/**
3
 * @link    https://github.com/nnx-framework/entry-name-resolver
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace Nnx\EntryNameResolver\PhpUnit\Test;
7
8
use Nnx\EntryNameResolver\PhpUnit\TestData\TestPaths;
9
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
10
use Nnx\EntryNameResolver\Module;
11
12
/**
13
 * Class EntryNameResolverIntegrationTest
14
 *
15
 * @package Nnx\EntryNameResolver\PhpUnit\Test
16
 */
17
class EntryNameResolverIntegrationTest extends AbstractHttpControllerTestCase
18
{
19
    /**
20
     *
21
     * @return void
22
     * @throws \Zend\Stdlib\Exception\LogicException
23
     */
24
    public function testLoadModule()
25
    {
26
        /** @noinspection PhpIncludeInspection */
27
        $this->setApplicationConfig(
28
            include TestPaths::getPathToContextResolverAppConfig()
29
        );
30
31
        $this->assertModulesLoaded([Module::MODULE_NAME]);
32
    }
33
}
34