public function testVersionCheck()
 {
     $composerFilePath = MAGENTO_BP . '/composer.json';
     $fileContent = file_get_contents($composerFilePath);
     $currentReleaseVersion = json_decode($fileContent, true)['version'];
     $this->assertNotEmpty($this->versionCheck->getAvailableVersions());
     $this->assertEquals($currentReleaseVersion, $this->versionCheck->getLatestProductVersion());
     $this->assertEquals('dev-master', $this->versionCheck->getLatestDevelopmentVersion());
 }
 public function testGetAvailableVersions()
 {
     $actualVersions = $this->versionCheck->getAvailableVersions();
     $this->assertNotEmpty($actualVersions);
     $this->assertCount(count($this->versions), $actualVersions);
 }