4 * This file is part of Psy Shell.
6 * (c) 2012-2018 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Psy\Test\Reflection;
14 use Psy\Reflection\ReflectionConstant;
16 class ReflectionConstantBCTest extends \PHPUnit\Framework\TestCase
18 const CONSTANT_ONE = 'one';
20 public function testConstruction()
22 $refl = new ReflectionConstant($this, 'CONSTANT_ONE');
23 $this->assertInstanceOf('Psy\Reflection\ReflectionConstant', $refl);
24 $this->assertInstanceOf('Psy\Reflection\ReflectionClassConstant', $refl);