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.

SSHCheckTest::testGetFailureMessage()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the Gerrie package.
4
 *
5
 * (c) Andreas Grunwald <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Gerrie\Tests\Check;
12
13
use Gerrie\Check\SSHCheck;
14
15
class SSHCheckTest extends \PHPUnit_Framework_TestCase
16
{
17
18
    /**
19
     * @var \Gerrie\Check\CheckInterface
20
     */
21
    protected $checkInstance;
22
23
    public function setUp()
24
    {
25
        $this->checkInstance = new SSHCheck();
26
    }
27
28
    public function tearDown()
29
    {
30
        $this->checkInstance = null;
31
    }
32
33
    public function testCheck()
34
    {
35
        $this->assertTrue($this->checkInstance->check());
36
    }
37
38
    public function testGetFailureMessage()
39
    {
40
        $this->assertInternalType('string', $this->checkInstance->getFailureMessage());
41
    }
42
43
    public function testGetSuccessMessage()
44
    {
45
        $this->assertInternalType('string', $this->checkInstance->getSuccessMessage());
46
    }
47
48
    public function testIsOptional()
49
    {
50
        $this->assertInternalType('bool', $this->checkInstance->isOptional());
51
    }
52
}