Mercurial > hg > isophonics-drupal-site
annotate vendor/psy/psysh/test/Reflection/ReflectionConstantBCTest.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | c2387f117808 |
children |
rev | line source |
---|---|
Chris@16 | 1 <?php |
Chris@16 | 2 |
Chris@16 | 3 /* |
Chris@16 | 4 * This file is part of Psy Shell. |
Chris@16 | 5 * |
Chris@16 | 6 * (c) 2012-2018 Justin Hileman |
Chris@16 | 7 * |
Chris@16 | 8 * For the full copyright and license information, please view the LICENSE |
Chris@16 | 9 * file that was distributed with this source code. |
Chris@16 | 10 */ |
Chris@16 | 11 |
Chris@16 | 12 namespace Psy\Test\Reflection; |
Chris@16 | 13 |
Chris@16 | 14 use Psy\Reflection\ReflectionConstant; |
Chris@16 | 15 |
Chris@16 | 16 class ReflectionConstantBCTest extends \PHPUnit\Framework\TestCase |
Chris@16 | 17 { |
Chris@16 | 18 const CONSTANT_ONE = 'one'; |
Chris@16 | 19 |
Chris@16 | 20 public function testConstruction() |
Chris@16 | 21 { |
Chris@16 | 22 $refl = new ReflectionConstant($this, 'CONSTANT_ONE'); |
Chris@16 | 23 $this->assertInstanceOf('Psy\Reflection\ReflectionConstant', $refl); |
Chris@16 | 24 $this->assertInstanceOf('Psy\Reflection\ReflectionClassConstant', $refl); |
Chris@16 | 25 } |
Chris@16 | 26 } |