232233234235236237238239240241242
} @Test public void shouldConvertItselfToAMachineReadableString() throws Exception { Money oneDollar = new Money(decimal("1.00"), USD); assertEquals("1.00", oneDollar.toPlainString()); } } public static class One_Dollar_Plus_One_Dollar {
344345346347348349350351352353354
} @Test public void shouldRenderAsAMachineReadableString() throws Exception { Money oneDollar = new Money(decimal("1.00"), USD); assertEquals("1.00", oneDollar.toPlainString()); } } public static class One_Dollar_Converted_Into_Dollars { @Test