/**
* Test finding a shell that has a matching alias.
*
* Aliases should not overload concrete shells.
*
* @return void
*/
public function testFindShellAliasedAppShadow()
{
ShellDispatcher::alias('sample', 'test_plugin.example');
$result = $this->dispatcher->findShell('sample');
$this->assertInstanceOf('TestApp\\Shell\\SampleShell', $result);
$this->assertEmpty($result->plugin);
$this->assertEquals('Sample', $result->name);
}