Passed
Push — master ( ad2bb7...cfe295 )
by Jeroen
03:52
created

VCardExceptionTest::testException()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace JeroenDesloovere\VCard;
4
5
// required to load
6
require_once __DIR__ . '/../vendor/autoload.php';
7
8
/*
9
 * This file is part of the VCard PHP Class from Jeroen Desloovere.
10
 *
11
 * For the full copyright and license information, please view the license
12
 * file that was distributed with this source code.
13
 */
14
15
/**
16
 * VCard Exception Test.
17
 */
18
class VCardExceptionTest extends \PHPUnit_Framework_TestCase
19
{
20
    /**
21
     * @expectedException JeroenDesloovere\VCard\VCardException
22
     */
23
    public function testException()
24
    {
25
        throw new VCardException('Testing the VCard error.');
26
    }
27
}
28