Updated from some -dev modules to alpha, beta or full releases
[yaffs-website] / vendor / psy / psysh / test / VersionUpdater / NoopCheckerTest.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\VersionUpdater;
13
14 use Psy\Shell;
15 use Psy\VersionUpdater\NoopChecker;
16
17 class NoopCheckerTest extends \PHPUnit\Framework\TestCase
18 {
19     public function testTheThings()
20     {
21         $checker = new NoopChecker();
22         $this->assertTrue($checker->isLatest());
23         $this->assertEquals(Shell::VERSION, $checker->getLatest());
24     }
25 }