<?php

namespace JeroenDesloovere\VCard;

use PHPUnit\Framework\TestCase;

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.
 */
class VCardExceptionTest extends TestCase
{
    /**
     * @expectedException JeroenDesloovere\VCard\VCardException
     */
    public function testException()
    {
        throw new VCardException('Testing the VCard error.');
    }
}

<?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.
 */
class VCardExceptionTest extends TestCase
{
    /**
     * @expectedException JeroenDesloovere\VCard\VCardException
     */
    public function testException()
    {
        throw new VCardException('Testing the VCard error.');
    }
}

Remove obsolete use case for TestCase
Remove obsolete use case for TestCase