### Question:
LifecycleImpl extends Named implements Lifecycle { @Override public void start() { invoke(PostConstruct.class); } LifecycleImpl(final Object delegate, final String rootName, final String name, final String plugin); protected  LifecycleImpl(); @Override void start(); @Override void stop(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test void start() { final StartOnly delegate = new StartOnly(); final Lifecycle impl = new LifecycleImpl(delegate, "Root", "Test", "Plugin"); assertEquals(0, delegate.counter); impl.start(); assertEquals(1, delegate.counter); impl.stop(); assertEquals(1, delegate.counter); }