### Question:
Text implements Serializable { @Override @ToString public String toString() { return new String(data, Charsets.UTF_8); } Text(byte[] bytes); @FromString static Text fromString(String string); int size(); @Override @ToString String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testJodaConvertFromString() { Text fb = StringConvert.INSTANCE.convertFromString(Text.class, "foobar"); assertThat(fb.toString(), equalTo("foobar")); }