### Question:
ReactiveAudit { boolean isThreadNameMatch(String name) { if (name == null) return false; if (threadPattern == null) { return false; } if (historyThreadName.add(name)) { int now = ManagementFactory.getThreadMXBean().getThreadCount(); int old; for (; ; ) { old = statMaxThread.get(); if (now > old) { if (statMaxThread.compareAndSet(old, now)) break; } else break; Thread.yield(); } if (debug) logger.fine("Detect thread name \"" + name + "\""); } return threadPattern.matcher(name).matches(); }  static String getPropertiesURL(); boolean isDebug(); void incSuppress(); void decSuppress(); void setStarted(boolean started); BootStrapMode getBootStrapMode(); void setBootStrapMode(BootStrapMode mode); long getBootstrapDelay(); Latency getFileLatency(); Latency getNetworkLatency(); Latency getCPULatency(); boolean isThrow(); String getThreadPattern(); Transaction begin(); @SuppressWarnings({"ChainOfInstanceofChecks", "InstanceofInterfaces"}) void logIfNew(Latency latencyLevel, ReactiveAuditException e); void debug(Object s); void dumpTarget(Object obj); static final ReactiveAudit config; static final Transaction strict; static final Transaction logOnly; static final Transaction off; static final String auditPackageName; final Logger loggerBoot; final Logger logger; }### Answer:
@Test public void currentThread_test() { TestTools.strict.commit(); assertTrue(config.isThreadNameMatch(Thread.currentThread().getName())); }