YamlUriRetrieverTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testItCanLoadAYamlFile() 0 6 1
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