### Question:
ContextWriteSession implements WriteSession { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("delegate",this.delegate). toString(); } ContextWriteSession(WriteSession state); @Override S resolve(Class<? extends S> snapshotClass, Individual<?, ?> individual); @Override S find(Class<? extends S> snapshotClass, Name<?> id, Class<? extends ResourceHandler> handlerClass); @Override void modify(ResourceSnapshot resource); @Override void delete(ResourceSnapshot resource); @Override void saveChanges(); @Override void discardChanges(); @Override void close(); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { assertThat( this.sut.toString(), not(equalTo(Utils.defaultToString(sut)))); }