*/
public class JobExecutorTest extends JobExecutorTestCase {
public void testBasicJobExecutorOperation() throws Exception {
CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutorTxRequired();
commandExecutor.execute(new Command<Void>() {
public Void execute(CommandContext commandContext) {
JobManager jobManager = commandContext.getJobManager();
jobManager.send(createTweetMessage("message-one"));
jobManager.send(createTweetMessage("message-two"));
jobManager.send(createTweetMessage("message-three"));