public function testCheckPhpVersionFailed()
 {
     $this->composerInfo->expects($this->once())->method('getRequiredPhpVersion')->willReturn('1.0');
     $multipleConstraints = $this->getMockForAbstractClass('Composer\\Package\\LinkConstraint\\LinkConstraintInterface', [], '', false);
     $this->versionParser->expects($this->at(0))->method('parseConstraints')->willReturn($multipleConstraints);
     $this->versionParser->expects($this->at(1))->method('normalize')->willReturn('1.0');
     $currentPhpVersion = $this->getMockForAbstractClass('Composer\\Package\\LinkConstraint\\LinkConstraintInterface', [], '', false);
     $this->versionParser->expects($this->at(2))->method('parseConstraints')->willReturn($currentPhpVersion);
     $multipleConstraints->expects($this->once())->method('matches')->willReturn(false);
     $expected = ['responseType' => ResponseTypeInterface::RESPONSE_TYPE_ERROR, 'data' => ['required' => 1.0, 'current' => PHP_VERSION]];
     $this->assertEquals($expected, $this->phpReadinessCheck->checkPhpVersion());
 }