Completed
Push — master ( 82d1fc...6f9908 )
by Ivannis Suárez
02:50 queued 29s
created

NullVisitorTests::canHandlerVisiteeDataProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the Cubiche package.
4
 *
5
 * Copyright (c) Cubiche
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Cubiche\Core\Visitor\Tests\Units;
11
12
use Cubiche\Core\Visitor\Tests\Fixtures\Value;
13
14
/**
15
 * Null Visitor Tests Class.
16
 *
17
 * @author Karel Osorio Ramírez <[email protected]>
18
 */
19
class NullVisitorTests extends LinkedVisitorTestCase
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected function visitDataProvider()
25
    {
26
        return array();
27
    }
28
29
    /**
30
     * {@inheritdoc}
31
     */
32
    protected function visitNextDataProvider()
33
    {
34
        return array();
35
    }
36
37
    /**
38
     * {@inheritdoc}
39
     */
40
    protected function canHandlerVisiteeDataProvider()
41
    {
42
        $data = parent::canHandlerVisiteeDataProvider();
43
44
        return \array_merge($data, array(
45
            array($this->newDefaultTestedInstance(), new Value(1), false),
46
        ));
47
    }
48
}
49