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