@Test public void shouldSerializeTrueToTrueUsingDefaultBooleanFormat() throws Exception { OutputStream out = new ByteArrayOutputStream(); toTest.serialize(true, charset, out); assertEquals("true", out.toString()); }
public String serialize(Boolean value, Charset charset) { return value ? trueString : falseString; }
BooleanSerializer extends StringSerializer<Boolean> { public String serialize(Boolean value, Charset charset) { return value ? trueString : falseString; } }
BooleanSerializer extends StringSerializer<Boolean> { public String serialize(Boolean value, Charset charset) { return value ? trueString : falseString; } BooleanSerializer(CRestConfig crestConfig); }
BooleanSerializer extends StringSerializer<Boolean> { public String serialize(Boolean value, Charset charset) { return value ? trueString : falseString; } BooleanSerializer(CRestConfig crestConfig); String serialize(Boolean value, Charset charset); }
BooleanSerializer extends StringSerializer<Boolean> { public String serialize(Boolean value, Charset charset) { return value ? trueString : falseString; } BooleanSerializer(CRestConfig crestConfig); String serialize(Boolean value, Charset charset);  }