Completed
Pull Request — master (#5)
by
unknown
04:09 queued 01:31
created

GermanyNWTest::dataProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 11
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Holiday Library.
5
 *
6
 * (c) Michał Mańko <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Michalmanko\Holiday\Test\Provider;
13
14
/**
15
 * @author ottowayne <[email protected]>
16
 */
17
class GermanyNWTest extends GermanyTest
18
{
19
    public function getProviderCountryCode()
20
    {
21
        return 'GER_NW';
22
    }
23
24
    public function getProviderCountryName()
25
    {
26
        return 'GermanyNW';
27
    }
28
29
    public function getProviderInstanceOf()
30
    {
31
        return '\\Michalmanko\\Holiday\\Provider\\GermanyNW';
32
    }
33
34
    public function dataProvider()
35
    {
36
        $parentData = parent::dataProvider();
37
38
        $providerData = array(
39
            $this->getCorpusChristiTestData(),
40
            $this->getAllSaintsDayTestData(),
41
        );
42
43
        return array_merge($parentData, $providerData);
44
    }
45
}
46