SteamCurrencyTest::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\SteamCurrency;
8
use PHPUnit\Framework\TestCase;
9
10
class SteamCurrencyTest extends TestCase
11
{
12
    public function testGetAll(): void
13
    {
14
        $this->assertIsArray(SteamCurrency::cases());
15
    }
16
17
    public function testReturnedType(): void
18
    {
19
        foreach (SteamCurrency::cases() as $data) {
20
            $this->assertIsInt($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