Passed
Push — master ( d7fd0c...0cd2cd )
by Sam
04:33
created

XmlResolverTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of PHP DNS Server.
5
 *
6
 * (c) Yif Swery <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace yswery\DNS\Tests\Resolver;
13
14
use yswery\DNS\Resolver\XmlResolver;
15
16
class XmlResolverTest extends AbstractResolverTest
17
{
18
    /**
19
     * @throws \yswery\DNS\UnsupportedTypeException
20
     */
21
    public function setUp()
22
    {
23
        $files = [
24
            __DIR__.'/../Resources/example.com.xml',
25
            __DIR__.'/../Resources/test.com.xml',
26
            __DIR__.'/../Resources/test2.com.xml',
27
        ];
28
        $this->resolver = new XmlResolver($files);
29
    }
30
}
31