### Question:
SizeHelper { @Nonnull public String getAsTB (final long nSize) { return _format (nSize / CGlobal.BYTES_PER_TERABYTE) + TB_SUFFIX; } SizeHelper(@Nonnull final Locale aDisplayLocale);  SizeHelper(@Nonnull final DecimalFormatSymbols aDFS); @Nonnull String getAsKB(final long nSize); @Nonnull String getAsKB(final long nSize, @Nonnegative final int nDecimals); @Nonnull String getAsMB(final long nSize); @Nonnull String getAsMB(final long nSize, @Nonnegative final int nDecimals); @Nonnull String getAsGB(final long nSize); @Nonnull String getAsGB(final long nSize, @Nonnegative final int nDecimals); @Nonnull String getAsTB(final long nSize); @Nonnull String getAsTB(final long nSize, @Nonnegative final int nDecimals); @Nonnull String getAsPB(final long nSize); @Nonnull String getAsPB(final long nSize, @Nonnegative final int nDecimals); @Nonnull String getAsMatching(@Nonnull final BigInteger aSize); @Nonnull String getAsMatching(@Nonnull final BigInteger aSize, @Nonnegative final int nDecimals); @Nonnull String getAsMatching(@Nonnull final BigDecimal aSize); @Nonnull String getAsMatching(@Nonnull final BigDecimal aSize, @Nonnegative final int nDecimals); @Nonnull String getAsMatching(final long nSize); @Nonnull String getAsMatching(final long nSize, @Nonnegative final int nDecimals); @Override String toString(); @Nonnull static SizeHelper getSizeHelperOfLocale(@Nonnull final Locale aDisplayLocale); static final String B_SUFFIX; static final String KB_SUFFIX; static final String MB_SUFFIX; static final String GB_SUFFIX; static final String TB_SUFFIX; static final String PB_SUFFIX; }### Answer:
@Test public void testGetAsTB () { final SizeHelper aSH = SizeHelper.getSizeHelperOfLocale (Locale.ENGLISH); assertEquals ("0TB", aSH.getAsTB (0)); assertEquals ("5TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE)); assertEquals ("0.00TB", aSH.getAsTB (0, 2)); assertEquals ("5TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE, 0)); assertEquals ("5.0TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE, 1)); assertEquals ("5.00TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE, 2)); assertEquals ("5.000TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE, 3)); assertEquals ("5.0000TB", aSH.getAsTB (5 * CGlobal.BYTES_PER_TERABYTE, 4)); }