@Test
public void testBoolEncode() {

    assertThat(TypeEncoder.encodeBool(new Bool(false)),
            is("0000000000000000000000000000000000000000000000000000000000000000"));
    assertThat(TypeEncoder.encodeBool(new Bool(true)),
            is("0000000000000000000000000000000000000000000000000000000000000001"));
}