Passed
Push — master ( b2accd...5a4945 )
by WEBEWEB
01:50
created

SkiDataMissingStartRecordFormatExceptionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
/**
4
 * This file is part of the skidata-library package.
5
 *
6
 * (c) 2017 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\SkiData\Tests\Exception;
13
14
use PHPUnit_Framework_TestCase;
15
use WBW\Library\SkiData\Exception\SkiDataMissingStartRecordFormatException;
16
17
/**
18
 * SkiData missing start record format exception test.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Library\SkiData\Tests\Exception
22
 * @final
23
 */
24
final class SkiDataMissingStartRecordFormatExceptionTest extends PHPUnit_Framework_TestCase {
25
26
    /**
27
     * Tests the __construct() method.
28
     *
29
     * @return void
30
     */
31
    public function testConstruct() {
32
33
        $ex = new SkiDataMissingStartRecordFormatException("", 0);
34
        $this->assertEquals("The start record format is missing", $ex->getMessage());
35
    }
36
37
}
38