@Test(expectedExceptions = MonetaryParseException.class)
 public void shouldReturnErrorParseWhenMonetaryAmountIsInvalid() {
   monetaryAmountFormat.parse("ERROR");
 }
 @Test
 public void shouldParseMonetaryAmount() throws IOException {
   MonetaryAmount money = Money.of(10, currency);
   String parse = monetaryAmountFormat.queryFrom(money);
   assertEquals(monetaryAmountFormat.parse(parse), money);
 }
 @Test(expectedExceptions = NullPointerException.class)
 public void shouldReturnErrorParseWhenMonetaryAmountIsNull() {
   monetaryAmountFormat.parse(null);
 }