### Question:
Total implements Serializable { public BigDecimal getTotal() { return value; } Total();  Total(final BigDecimal start);  Total(final BigDecimal start, final int scale);  Total(final Total start); BigDecimal getTotal(); Total setTotal(final BigDecimal total); Total addIfTrue(final boolean condition, final BigDecimal... values); Total add(final BigDecimal... value); Total subtractIfTrue(final boolean condition, final BigDecimal... values); Total subtract(final BigDecimal... value); Total add(final Integer value); Total add(final Total value); Total minus(final BigDecimal... value); Total minus(final Total value); @Override String toString(); boolean isZero(); boolean isNotZero(); boolean isNegative(); boolean isZeroOrLess(); int getCount();  }### Answer:
@Test public void testSum() { final Total sum = new Total(); assertEquals("scale", 0, sum.getTotal().scale()); BigDecimalAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); }
@Test public void testSumInt() { final Total sum = new Total(BigDecimal.ZERO, 2); assertEquals("scale", 2, sum.getTotal().scale()); BigDecimalAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); }
@Test public void testSumBigDecimalInt() { final Total sum = new Total(BigDecimal.TEN, 4); assertEquals("scale", 4, sum.getTotal().scale()); BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); }
@Test public void testgetTotal() { final Total sum = new Total(BigDecimal.TEN, 4); BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); }