public function shouldGetExceptionForNonExistingCommand()
{
$command_name = 'bogus';
$context = new Context(new Identifier('1', 'test'));
try {
$command = Utils::getCommand($command_name, $context);
$this->fail('should not come here, command does not exist');
} catch (Exception $e) {
$this->assertEquals(Exception::COMMAND_CREATION_FAILURE, $e->getCode());
$this->assertContains('class does not exist', $e->getMessage());
//echo $e->getMessage() . PHP_EOL;
}
}