Completed
Push — master ( fef923...c0df34 )
by Rafael
03:03
created

CamelizeMatcherTester::getEquals()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 9.4285
cc 1
eloc 8
nc 1
nop 0
1
<?php
2
3
/**
4
 * LICENSE: This file is subject to the terms and conditions defined in
5
 * file 'LICENSE', which is part of this source code package.
6
 *
7
 * @copyright 2016 Copyright(c) - All rights reserved.
8
 */
9
10
namespace Rafrsr\LibArray2Object\Tests\Matcher;
11
12
use Rafrsr\LibArray2Object\Matcher\CamelizeMatcher;
13
14
class CamelizeMatcherTester extends PropertyMatcherTester
15
{
16
    /**
17
     * @inheritDoc
18
     */
19
    public function buildMatcher()
20
    {
21
        return new CamelizeMatcher();
22
    }
23
24
    /**
25
     * @inheritDoc
26
     */
27
    public function getEquals()
28
    {
29
        return [
30
            'test' => 'test',
31
            'Test' => 'Test',
32
            'ErrorCode' => 'error_code',
33
            'errorCode' => 'error_code',
34
            'errorcode' => 'error_code',
35
            'errorCodes' => 'errorcodes',
36
        ];
37
    }
38
39
    /**
40
     * @inheritDoc
41
     */
42
    public function getNotEquals()
43
    {
44
        return [
45
            'test' => 'testing'
46
        ];
47
    }
48
}
49