Signed-off-by: Roland Häder <roland@mxchange.org>
throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
}
throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
}
- // Set the application instance
- $resolverInstance->setApplicationInstance($applicationInstance);
+ // Set namespace and application instance
$resolverInstance->setNamespace('CoreFramework\Tests\Command');
$resolverInstance->setNamespace('CoreFramework\Tests\Command');
+ $resolverInstance->setApplicationInstance($applicationInstance);
// Return the prepared instance
return $resolverInstance;
// Return the prepared instance
return $resolverInstance;