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 ( cd261d...1a4b18 )
by Bruno
41:57
created

DoctrineYumlDataCollectorTest::testGetName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
namespace OnurbTest\Bundle\YumlBundle\DataCollector;
3
4
use Onurb\Bundle\YumlBundle\DataCollector\DoctrineYumlDataCollector;
5
use Symfony\Component\HttpFoundation\Response;
6
use Symfony\Component\HttpFoundation\Request;
7
8
class DoctrineYumlDataCollectorTest extends \PHPUnit_Framework_TestCase
9
{
10
11
    /**
12
     * @covers \Onurb\Bundle\YumlBundle\DataCollector\DoctrineYumlDataCollector
13
     */
14
    public function testIsInstanceOf()
15
    {
16
        $dataCollector = new DoctrineYumlDataCollector();
17
        $this->assertInstanceOf("Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector", $dataCollector);
18
    }
19
20
    /**
21
     * @covers \Onurb\Bundle\YumlBundle\DataCollector\DoctrineYumlDataCollector
22
     */
23
    public function testGetName()
24
    {
25
        $dataCollector = new DoctrineYumlDataCollector();
26
        $this->assertSame('doctrine_yuml', $dataCollector->getName());
27
    }
28
29
    /**
30
     * @covers \Onurb\Bundle\YumlBundle\DataCollector\DoctrineYumlDataCollector
31
     */
32
    public function testCollect()
33
    {
34
        $dataCollector = new DoctrineYumlDataCollector();
35
        $dataCollector->collect(new Request(), new Response());
36
37
        $this->assertSame('a:1:{s:13:"doctrine_yuml";a:0:{}}', $dataCollector->serialize());
38
    }
39
}
40