VCardExceptionTest.php 607 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace JeroenDesloovere\VCard;
  3. // required to load
  4. require_once __DIR__ . '/../vendor/autoload.php';
  5. /*
  6. * This file is part of the VCard PHP Class from Jeroen Desloovere.
  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. * VCard Exception Test.
  13. */
  14. class VCardExceptionTest extends \PHPUnit_Framework_TestCase
  15. {
  16. /**
  17. * @expectedException JeroenDesloovere\VCard\VCardException
  18. */
  19. public function testException()
  20. {
  21. throw new VCardException('Testing the VCard error.');
  22. }
  23. }