YamlUriRetrieverTest::testItCanLoadAYamlFile()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace ElevenLabs\Api\JsonSchema\Uri;
3
4
use PHPUnit\Framework\TestCase;
5
6
class YamlUriRetrieverTest extends TestCase
7
{
8
    public function testItCanLoadAYamlFile()
9
    {
10
        $retriever = new YamlUriRetriever();
11
        $object = $retriever->retrieve('file://'.__DIR__.'/../../fixtures/petstore.yaml');
12
13
        assertThat($object, isType('object'));
14
    }
15
}
16