Jyxo\Beholder\TestCase\PhpVersionTest::testPhpVersionWrong PHP Method

testPhpVersionWrong() public method

Tests PHP version not matching.
public testPhpVersionWrong ( )
    public function testPhpVersionWrong()
    {
        $test = new PhpVersion('Version', '5.2');
        $result = $test->run();
        $this->assertEquals(\Jyxo\Beholder\Result::FAILURE, $result->getStatus());
        $this->assertEquals(sprintf('Version %s, expected = %s', phpversion(), '5.2'), $result->getDescription());
    }