### Question:
WriteSessionCleaner { static synchronized void terminate() { if(isActive()) { instance.shutdown(); } } private  WriteSessionCleaner(final ReferenceQueue<ContextWriteSession> referenceQueue);   }### Answer:
@Test public void assertThatTerminateWhenInactiveDoesNotBreak() { WriteSessionCleaner.terminate(); }