public function testAddAliasFailsWithBadKey()
{
$resolver = new AliasPathStackResolver(array());
$reflectionClass = new \ReflectionClass(\AssetManager\Resolver\AliasPathStackResolver::class);
$addAlias = $reflectionClass->getMethod('addAlias');
$addAlias->setAccessible(true);
$property = $reflectionClass->getProperty('aliases');
$property->setAccessible(true);
$addAlias->invoke($resolver, null, 'path');
}