assertCurrentThreadExecution();
}
@Test
public void testSubmissionMethod() throws InterruptedException, ExecutionException, TimeoutException {
AsyncTaskExecutor executor = new SimpleAsyncTaskExecutor("testSubmissionMethod");
SignallingRunnable runner = new SignallingRunnable("testSubmissionMethod");
Future<?> future = executor.submit(runner);
Object result = future.get(5L, TimeUnit.SECONDS);
assertLastExecutionOperation(runner);
assertCurrentThreadExecution();