### Question:
Money { public boolean isGreaterThan(Money comparison) { return this.getAmount().compareTo(comparison.getAmount()) > 0; } Money();  Money(BigDecimal amount);  Money(int amount); Money add(Money money); boolean isGreaterThan(Money comparison); BigDecimal getAmount(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testIsGreaterThan() { Money base = new Money(8000); assertTrue(base.isGreaterThan(new Money(7000))); assertFalse(base.isGreaterThan(new Money(8000))); }