InvocationTestMP prototype = new InvocationTestMP();
LifecycleHelper invoker = new LifecycleHelper(prototype);
InvocationTestMP instance = (InvocationTestMP)invoker.newInstance();
assertFalse("instance says it did output before method called", instance.outputCalled);
invoker.invokeOutput(instance);
assertTrue("output method was not called", instance.outputCalled);
}
}