### Question:
CustomDecimalFormat { public CharSequence format(long number) { return format(number, stringBuilder); } CustomDecimalFormat(int capacity);  CustomDecimalFormat(int capacity, char fillCharacter); void setFillCharacter(Character fillCharacter); CharSequence format(long number); CharSequence format(long number, StringBuilder stringBuilder);  }### Answer:
@Test public void shouldFillTheMissingNumbersWithDefaultCharacter3() { CustomDecimalFormat customDecimalFormat = new CustomDecimalFormat(5); assertEquals("99999", customDecimalFormat.format(99999L).toString()); }
@Test public void shouldGrowWhenNumberGreaterThanExpectedDigits() { CustomDecimalFormat customDecimalFormat = new CustomDecimalFormat(5); assertEquals("123456", customDecimalFormat.format(123456L).toString()); }