1   package org.apache.commons.javaflow.bytecode.transformation.tests;
2   
3   import org.apache.commons.javaflow.Continuation;
4   import org.apache.commons.javaflow.bytecode.transformation.AbstractTransformerTestCase;
5   import org.apache.commons.javaflow.bytecode.transformation.Invoker;
6   import org.apache.commons.javaflow.bytecode.transformation.rewrite.Simple;
7   
8   public abstract class AbstractInvokerTestCase extends AbstractTransformerTestCase {
9   
10      public void testInvoker() {
11          final Runnable r = new Simple();
12          final Runnable o = new Invoker(r);
13          final Continuation c = Continuation.startWith(o);
14          assertNotNull(c);
15      }
16  }