### Question:
AllocationIdUtil { public static int convertBase26ToDecimal(final char[] chars) { int sum = 0; for (int i = 0; i < chars.length; i++) { sum = sum * 26 + convertLetterToDigit(chars[i]); } return sum; }  static String getAllocationName(final String allocId); static Set<Allocation> getOutdatedAllocations(final TestDefinition previous, final TestDefinition current); static String getNextVersionOfAllocationId(final String allocId); static String generateAllocationId(final int index, final int version); static int convertBase26ToDecimal(final char[] chars); static final Comparator<String> ALLOCATION_ID_COMPARATOR; }### Answer:
@Test public void testConvertCharactersToDecimal() { assertEquals(1, AllocationIdUtil.convertBase26ToDecimal("B".toCharArray())); assertEquals(26, AllocationIdUtil.convertBase26ToDecimal("BA".toCharArray())); assertEquals(28, AllocationIdUtil.convertBase26ToDecimal("BC".toCharArray())); }