GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 037104...b3593d )
by
unknown
10s
created

ModuleOptionsFactoryTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testFactory() 0 12 1
1
<?php
2
3
namespace HtImgModuleTest\Factory;
4
5
use Zend\ServiceManager\ServiceManager;
6
use HtImgModule\Factory\ModuleOptionsFactory;
7
8
class ModuleOptionsFactoryTest extends \PHPUnit_Framework_TestCase
9
{
10
    public function testFactory()
11
    {
12
        $config = ['htimg' => []];
13
14
        $serviceManager = new ServiceManager();
15
        $serviceManager->setService('Config', $config);
16
17
        $factory = new ModuleOptionsFactory();
18
        $options = $factory->createService($serviceManager);
19
20
        $this->assertInstanceOf('HtImgModule\Options\ModuleOptions', $options);
21
    }
22
}
23