@Test(expected = NullPointerException.class) public void shouldFailWithNull(){ toTest.serialize(null, 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);  }