### Question:
Money { public Money subtract(Money other) { return new Money(amount.subtract(other.amount)); } Money();  Money(int i);  Money(BigDecimal amount); boolean isGreaterThanOrEqual(Money other); Money add(Money other); Money subtract(Money other); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); BigDecimal getAmount(); void setAmount(BigDecimal amount); static final Money ZERO; }### Answer:
@Test public void shouldSubtract() { assertEquals(new Money(5), m2.subtract(m1)); }