Completed
Push — master ( 6071cd...4cf164 )
by Mike
02:36
created

test_it_can_be_created_with_a_value_even_another_node()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace phpDocumentor\Guides\Nodes;
6
7
/**
8
 * This file is part of phpDocumentor.
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 *
13
 * @link https://phpdoc.org
14
 */
15
16
use PHPUnit\Framework\TestCase;
17
18
final class QuoteNodeTest extends TestCase
19
{
20
    public function test_it_can_be_created_with_a_value_even_another_node() : void
21
    {
22
        $imageNode = new ImageNode();
23
24
        $node = new QuoteNode($imageNode);
25
26
        self::assertSame($imageNode, $node->getValue());
27
    }
28
}
29