### Question:
ContextWriteSessionReference extends WeakReference<ContextWriteSession> { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). omitNullValues(). add("enqueued",super.isEnqueued()). add("state",this.state). toString(); } ContextWriteSessionReference(ContextWriteSession referent, ContextWriteSessionState state, ReferenceQueue<ContextWriteSession> referenceQueue); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { assertThat( this.sut.toString(), not(equalTo(Utils.defaultToString(sut)))); }