AuthTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAuthLoginURLException() 0 5 1
1
<?php
2
3
namespace jofner\SDK\TwitchTV\TwitchSDK\Methods\Test;
4
5
use jofner\SDK\TwitchTV\TwitchSDK;
6
7
class AuthTest extends \PHPUnit_Framework_TestCase
8
{
9
    /**
10
     * @expectedException jofner\SDK\TwitchTV\TwitchSDKException
11
     */
12
    public function testAuthLoginURLException()
13
    {
14
        $sdk = new TwitchSDK(array());
15
        $sdk->authLoginURL('test_scope');
16
    }
17
}
18