+ public function testGetVersionCodeFromFile()
+ {
+ file_put_contents('sandbox/version.php', '<?php /* 1.2.3 */ ?>'. PHP_EOL);
+ $this->assertEquals(
+ '1.2.3',
+ ApplicationUtils::getVersion('sandbox/version.php', 1)
+ );
+ }
+
+ /**
+ * Attempt to retrieve the latest version from an invalid File
+ */
+ public function testGetVersionCodeInvalidFile()