@Test
public void shouldSerializeTrueToCustomTrueUsingCustomBooleanFormat() throws Exception {

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