### Question:
WorkerThread implements WorkerThreadCI { @Override public String name() { return m_name; } WorkerThread(String name); void add_listener(WorkerThreadListener l); void remove_listener(WorkerThreadListener l); @Override String name(); @Override synchronized String description(); @Override synchronized ThrowableCollector collector(); @Override final synchronized WtState state(); @Override final synchronized void start(); @Override final synchronized void stop();  }### Answer:
@Test public void enumeration_checks() { WtState[] states = WtState.values(); for (WtState s : states) { WtState.valueOf(s.name()); } }