Updated from some -dev modules to alpha, beta or full releases
[yaffs-website] / vendor / psy / psysh / test / VersionUpdater / NoopCheckerTest.php
diff --git a/vendor/psy/psysh/test/VersionUpdater/NoopCheckerTest.php b/vendor/psy/psysh/test/VersionUpdater/NoopCheckerTest.php
new file mode 100644 (file)
index 0000000..b9ba568
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+/*
+ * This file is part of Psy Shell.
+ *
+ * (c) 2012-2018 Justin Hileman
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Psy\Test\VersionUpdater;
+
+use Psy\Shell;
+use Psy\VersionUpdater\NoopChecker;
+
+class NoopCheckerTest extends \PHPUnit\Framework\TestCase
+{
+    public function testTheThings()
+    {
+        $checker = new NoopChecker();
+        $this->assertTrue($checker->isLatest());
+        $this->assertEquals(Shell::VERSION, $checker->getLatest());
+    }
+}