comparison vendor/psy/psysh/test/Reflection/ReflectionConstantBCTest.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents
children
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
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 }