SelectorTests::evaluateSuccessDataProvider()   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
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
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\Specification\Tests\Units;
11
12
use Cubiche\Core\Selector\Key;
13
14
/**
15
 * Selector Tests Class.
16
 *
17
 * @author Ivannis Suárez Jerez <[email protected]>
18
 * @author Karel Osorio Ramírez <[email protected]>
19
 */
20
class SelectorTests extends SpecificationTestCase
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function defaultConstructorArguments()
26
    {
27
        return array(new Key('foo'));
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33
    protected function evaluateSuccessDataProvider()
34
    {
35
        return array(
36
            array(array('foo' => true)),
37
        );
38
    }
39
40
    /**
41
     * {@inheritdoc}
42
     */
43
    protected function evaluateFailureDataProvider()
44
    {
45
        return array(
46
            array(array('foo' => false)),
47
            array(array('foo' => null)),
48
            array(array('foo' => 10)),
49
        );
50
    }
51
}
52