annotate vendor/psy/psysh/test/VersionUpdater/NoopCheckerTest.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\VersionUpdater;
Chris@16 13
Chris@16 14 use Psy\Shell;
Chris@16 15 use Psy\VersionUpdater\NoopChecker;
Chris@16 16
Chris@16 17 class NoopCheckerTest extends \PHPUnit\Framework\TestCase
Chris@16 18 {
Chris@16 19 public function testTheThings()
Chris@16 20 {
Chris@16 21 $checker = new NoopChecker();
Chris@16 22 $this->assertTrue($checker->isLatest());
Chris@16 23 $this->assertEquals(Shell::VERSION, $checker->getLatest());
Chris@16 24 }
Chris@16 25 }