Няма описание

NoopCheckerTest.php 568B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of Psy Shell.
  4. *
  5. * (c) 2012-2018 Justin Hileman
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Psy\Test\VersionUpdater;
  11. use Psy\Shell;
  12. use Psy\VersionUpdater\NoopChecker;
  13. class NoopCheckerTest extends \PHPUnit\Framework\TestCase
  14. {
  15. public function testTheThings()
  16. {
  17. $checker = new NoopChecker();
  18. $this->assertTrue($checker->isLatest());
  19. $this->assertEquals(Shell::VERSION, $checker->getLatest());
  20. }
  21. }