--TEST--
Requirements from the composer file are not installed if the lock file is present
--COMPOSER--
{
    "repositories": [
        {
            "type": "package",
            "package": [
                { "name": "required/pkg", "version": "1.0.0" },
                { "name": "newly-required/pkg", "version": "1.0.0" }
            ]
        }
    ],
    "require": {
        "required/pkg": "1.0.0",
        "newly-required/pkg": "1.0.0"
    }
}
--LOCK--
{
    "packages": [
        { "name": "required/pkg", "version": "1.0.0" }
    ],
    "packages-dev": [],
    "aliases": [],
    "minimum-stability": "stable",
    "stability-flags": [],
    "prefer-stable": false,
    "prefer-lowest": false
}
--RUN--
install
--EXPECT--
Installing required/pkg (1.0.0)
