Completed
Push — master ( 413e80...0c5ebe )
by Guillaume
07:00
created

DemoTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 6 1
A testCallSuccess() 0 4 1
1
<?php
2
3
namespace Xklusive\BattlenetApi\Test;
4
5
use Xklusive\BattlenetApi\Test\TestCase;
6
use Illuminate\Support\Collection;
7
8
class DemoTest extends TestCase
9
{
10
	protected $wow;
11
12
    public function setUp()
13
    {
14
        parent::setUp();
15
        
16
        $this->wow = app(\Xklusive\BattlenetApi\Services\WowService::class);
17
    }
18
19
    public function testCallSuccess()
20
    {
21
    	$this->assertInstanceOf(Collection::class, $this->wow->getAchievement(2144));
22
    }
23
}