@Test
public void shouldSerializeFalseToCustomFalseUsingCustomBooleanFormat() throws Exception {

    Serializer toTest = newToTest();
    OutputStream out = new ByteArrayOutputStream();
    toTest.serialize(false, charset, out);
    assertEquals("0", out.toString());
}