assertEquals(0, zeroDollars.compareTo(zeroDollars));
}
@Test
public void itIsNotComparableToZeroEuros() throws Exception {
Money zeroDollars = new Money(decimal("0.00"), USD);
Money zeroEuros = new Money(decimal("0.00"), EUR);
boolean exceptionThrown = false;
try {
zeroDollars.compareTo(zeroEuros);
} catch (CurrencyMismatchException e) {
exceptionThrown = true;