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.

InMemoryRouteManagerTest::setUp()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Tadcka package.
5
 *
6
 * (c) Tadas Gliaubicas <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Tadcka\Component\Routing\Tests\Manager;
13
14
use Tadcka\Component\Routing\Manager\InMemoryRouteManager;
15
use Tadcka\Component\Routing\Tests\Mock\Model\Manager\MockRouteManager;
16
17
/**
18
 * @author Tadas Gliaubicas <[email protected]>
19
 *
20
 * @since 9/1/14 8:55 PM
21
 */
22
class InMemoryRouteManagerTest extends \PHPUnit_Framework_TestCase
23
{
24
    /**
25
     * @var MockRouteManager
26
     */
27
    private $mockManager;
28
29
    /**
30
     * @var InMemoryRouteManager
31
     */
32
    private $inMemoryManager;
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    protected function setUp()
38
    {
39
        $this->mockManager = new MockRouteManager();
40
        $this->inMemoryManager = new InMemoryRouteManager($this->mockManager);
41
    }
42
    /**
43
     * @expectedException \Tadcka\Component\Routing\Exception\RoutingRuntimeException
44
     */
45
    public function testAddMethodWithEmptyName()
46
    {
47
        $this->inMemoryManager->add($this->mockManager->create());
48
    }
49
}
50