SteamPlatformTest::testGetAll()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SteamMarketProviders\Enums\Tests;
6
7
use SteamMarketProviders\Enums\SteamLanguage;
8
use SteamMarketProviders\Enums\SteamPlatform;
9
use PHPUnit\Framework\TestCase;
10
11
class SteamPlatformTest extends TestCase
12
{
13
    public function testGetAll(): void
14
    {
15
        $this->assertIsArray(SteamPlatform::cases());
16
    }
17
18
    public function testReturnedType(): void
19
    {
20
        foreach (SteamLanguage::cases() as $data) {
21
            $this->assertIsString($data->value);
22
        }
23
    }
24
//
25
//
26
//    public function testInvokableCases(): void
27
//    {
28
//
29
//    }
30
//
31
//    public function testNames(): void
32
//    {
33
//
34
//    }
35
//
36
//    public function testValues(): void
37
//    {
38
//
39
//    }
40
//
41
//    public function testOptions(): void
42
//    {
43
//
44
//    }
45
}
46