### Question:
CommonCourtDivisionUtils { public static String tryExtractDivisionTypeCode(String divisionCode) { if (!isTolerantlyValidCcDivisionCode(divisionCode)) { return null; } return divisionCode.substring(divisionCode.length()-2, divisionCode.length()); } private  CommonCourtDivisionUtils(); static boolean isStrictlyValidCcDivisionCode(String divisionCode); static boolean isTolerantlyValidCcDivisionCode(String divisionCode); static String tryExtractNonLocalType(String divisionCode); static String tryExtractNonLocalCode(String divisionCode); static String tryExtractDivisionTypeCode(String divisionCode); static String tryExtractDivisionNumber(String divisionCode);  }### Answer:
@Test public void extractDivisionCode_3digit() { assertEquals("56", CommonCourtDivisionUtils.tryExtractDivisionTypeCode("556")); }
@Test public void extractDivisionCode_4digit() { assertEquals("63", CommonCourtDivisionUtils.tryExtractDivisionTypeCode("1563")); }