IdTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_converts_an_id() 0 8 1
1
<?php
2
3
require_once('BaseTester.php');
4
5
/** @group Id */
6
class IdTest extends BaseTester {
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: artisan, be, call, seed
Loading history...
7
8
    /** @test */
9
    public function it_converts_an_id()
10
    {
11
        $ids = $this->steamClient->convertId($this->id64);
12
13
        $this->assertEquals($this->id32, $ids->id32);
14
        $this->assertEquals($this->id64, $ids->id64);
15
        $this->assertEquals($this->id3, $ids->id3);
16
    }
17
18
}
19