@Test
public void testUtf8String() {

    Utf8String string = new Utf8String("Hello, world!");
    assertThat(TypeEncoder.encodeString(string),
            is("000000000000000000000000000000000000000000000000000000000000000d"
                    + "48656c6c6f2c20776f726c642100000000000000000000000000000000000000"));
}