SteamLanguageTest   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 3

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGetAll() 0 3 1
A testReturnedType() 0 4 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SteamMarketProviders\Enums\Tests;
6
7
use SteamMarketProviders\Enums\SteamLanguage;
8
use PHPUnit\Framework\TestCase;
9
10
class SteamLanguageTest extends TestCase
11
{
12
    public function testGetAll(): void
13
    {
14
        $this->assertIsArray(SteamLanguage::cases());
15
    }
16
17
    public function testReturnedType(): void
18
    {
19
        foreach (SteamLanguage::cases() as $data) {
20
            $this->assertIsString($data->value);
21
        }
22
    }
23
//
24
//
25
//    public function testInvokableCases(): void
26
//    {
27
//
28
//    }
29
//
30
//    public function testNames(): void
31
//    {
32
//
33
//    }
34
//
35
//    public function testValues(): void
36
//    {
37
//
38
//    }
39
//
40
//    public function testOptions(): void
41
//    {
42
//
43
//    }
44
}
45