@Test
public void testTruncatedString() throws Exception {

  BindingConvertor<String, String> bc = BindingConvertor.truncatedString( 50 );
  String longString =
      "the quick brown fox jumped over the lazy dog. the quick brown fox jumped over the lazy dog... again.";
  // account 3 characters for the ellipses (...)
  assertEquals( 53, bc.sourceToTarget( longString ).length() );
}