@Test public void shouldConvertMinorPart(){ MonetaryAmount money = Money.parse("EUR 2.35"); Long result = money.query(MonetaryQueries.convertMinorPart()); assertEquals(result, Long.valueOf(235L)); }
public static MonetaryQuery<Long> convertMinorPart() { return CONVERT_MINOR_PART; }
MonetaryQueries { public static MonetaryQuery<Long> convertMinorPart() { return CONVERT_MINOR_PART; } }
MonetaryQueries { public static MonetaryQuery<Long> convertMinorPart() { return CONVERT_MINOR_PART; } private  MonetaryQueries(); }
MonetaryQueries { public static MonetaryQuery<Long> convertMinorPart() { return CONVERT_MINOR_PART; } private  MonetaryQueries(); static MonetaryQuery<Long> extractMajorPart(); static MonetaryQuery<Long> convertMinorPart(); static MonetaryQuery<Long> extractMinorPart(); }
MonetaryQueries { public static MonetaryQuery<Long> convertMinorPart() { return CONVERT_MINOR_PART; } private  MonetaryQueries(); static MonetaryQuery<Long> extractMajorPart(); static MonetaryQuery<Long> convertMinorPart(); static MonetaryQuery<Long> extractMinorPart();  }