public void beforeTest() throws Exception
{
shell.setOutputStream(output);
shell.setAnsiSupported(false);
shell.setCurrentResource(createTempFolder());
beanManager.fireEvent(new Startup());
beanManager.fireEvent(new PostStartup());
shell.setVerbose(true);
shell.setExceptionHandlingEnabled(false);
resetInputQueue();