25 lines
555 B
PHP
25 lines
555 B
PHP
<?php
|
|
|
|
namespace JeroenDesloovere\VCard;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/*
|
|
* This file is part of the VCard PHP Class from Jeroen Desloovere.
|
|
*
|
|
* For the full copyright and license information, please view the license
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
* VCard Exception Test.
|
|
*/
|
|
final class VCardExceptionTest extends TestCase
|
|
{
|
|
public function testException()
|
|
{
|
|
$this->expectException(\JeroenDesloovere\VCard\VCardException::class);
|
|
throw new VCardException('Testing the VCard error.');
|
|
}
|
|
}
|