@Test
public void invokeYearMonthLocalDate() {

    FunctionTestUtil.assertResult(
            yamFunction.invoke(
                    LocalDate.of(2017, 6, 12),
                    YearMonth.of(2020, 4)),
            ComparablePeriod.of(2, 9, 0));
}