@Test
public void testMoneySerialization() throws IOException {

    JodaMoneySerializer jodaMoneySerializer = new JodaMoneySerializer();
    Money value = Money.of(CurrencyUnit.EUR, 234.56);
    jodaMoneySerializer.serialize(value, jsonGenerator, null);
    verify(jsonGenerator).writeString("234.56 €");
}