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