assertArrayEquals("Tubes", new String[]{"tube1", "tube+", "tube?"}, endpoint.conn.tubes);
}
@Test(expected = FailedToCreateProducerException.class)
public void testWrongCommand() throws Exception {
context.addRoutes(new RouteBuilder() {
@Override
public void configure() {
from("direct:start").to("beanstalk:default?command=noCommand");
}
});