LifecycleHelper { public static void prepare(ComponentLifecycle... s) throws CoreException { for (ComponentLifecycle c : s) { prepare(c, true); } }  static final void init(ComponentLifecycle... s); static final void start(ComponentLifecycle... s); static final void stop(ComponentLifecycle... s); static final void close(ComponentLifecycle... s); static void registerEventHandler(AdaptrisComponent c, EventHandler eh); static void prepare(ComponentLifecycle... s); static T initAndStart(T c); static T initAndStart(T c, boolean logging); static T stopAndClose(T c); static T stopAndClose(T c, boolean logging); static void waitQuietly(long ms);  }
@Test public void testPrepare() throws Exception { prepare(new NullService()); prepare((ComponentLifecycle) null); prepare(new EmptyIdentityBuilder()); }