void function ( ) { TableStringFormat loc0 = new TableStringFormat ( ) . setAlignment ( Alignment . CENTER ) . setMaxLength ( LENGTH ) ; assertEquals ( STRING_C , loc0 . format ( STRING ) ) ; }
test of getmaxlength method , of class stringformat . concode_field_sep String STRING_L concode_elem_sep String STRING_R concode_elem_sep int LENGTH concode_elem_sep String STRING concode_elem_sep String STRING_SHORT concode_elem_sep String STRING_C concode_field_sep void testDefault concode_elem_sep void testRight concode_elem_sep void testLeft concode_elem_sep void testLongerThanMaxLength