public void testFoo() throws Exception {
Support support = new Support() {
@Override
protected void execute(TestPluginLifeCycle lifeCycle, Wiser wiser) throws IOException, MessagingException, ExecutionException, InterruptedException {
Shell shell = lifeCycle.createShell();
lifeCycle.bindClass("produce", Commands.ProduceValue.class);
lifeCycle.bindClass("consume", Commands.ConsumeObject.class);
Commands.list.clear();
BaseProcessContext process = BaseProcessContext.create(shell, "produce | mail send -s the_subject -b admin@gmail.com | consume").execute();
ShellResponse.Ok ok = assertInstance(ShellResponse.Ok.class, process.getResponse());