--TEST--
Installs a dev package forcing it's reference
--COMPOSER--
{
    "repositories": [
        {
            "type": "package",
            "package": [
                {
                    "name": "a/a", "version": "dev-main",
                    "source": { "reference": "abc123", "url": "https://example.org", "type": "git" },
                    "default-branch": true
                }
            ]
        }
    ],
    "require": {
        "a/a": "dev-main#def000"
    }
}
--RUN--
install
--EXPECT--
Installing a/a (dev-main def000)
Marking a/a (9999999-dev def000) as installed, alias of a/a (dev-main def000)
