69d27970995d20b53d3df771bfaaca56d4fe94e5
[yaffs-website] / vendor / psy / psysh / test / Reflection / ReflectionConstantBCTest.php
1 <?php
2
3 /*
4  * This file is part of Psy Shell.
5  *
6  * (c) 2012-2018 Justin Hileman
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 namespace Psy\Test\Reflection;
13
14 use Psy\Reflection\ReflectionConstant;
15
16 class ReflectionConstantBCTest extends \PHPUnit\Framework\TestCase
17 {
18     const CONSTANT_ONE = 'one';
19
20     public function testConstruction()
21     {
22         $refl = new ReflectionConstant($this, 'CONSTANT_ONE');
23         $this->assertInstanceOf('Psy\Reflection\ReflectionConstant', $refl);
24         $this->assertInstanceOf('Psy\Reflection\ReflectionClassConstant', $refl);
25     }
26 }