### Question:
WriteSessionCleaner { static synchronized boolean isActive() { if(instance==null) { return false; } return instance.isRunning(); } private  WriteSessionCleaner(final ReferenceQueue<ContextWriteSession> referenceQueue);   }### Answer:
@Test public void assertThatIsActiveWhenNotLaunchedShouldBeFalse() { assertThat(WriteSessionCleaner.isActive(),equalTo(false)); }