@Test public void shouldReturnToStringValueOfObject(){ assertEquals("hello", toTest.serialize(this, null)); }
public String serialize(T value, Charset charset) { return value.toString(); }
ToStringSerializer extends StringSerializer<T> { public String serialize(T value, Charset charset) { return value.toString(); } }
ToStringSerializer extends StringSerializer<T> { public String serialize(T value, Charset charset) { return value.toString(); }  }
ToStringSerializer extends StringSerializer<T> { public String serialize(T value, Charset charset) { return value.toString(); }  String serialize(T value, Charset charset); }
ToStringSerializer extends StringSerializer<T> { public String serialize(T value, Charset charset) { return value.toString(); }  String serialize(T value, Charset charset);  }