@Test
public void invokePeriodYears() {

    FunctionTestUtil.assertResult(stringFunction.invoke(Period.ofYears(24)), "P24Y");
    FunctionTestUtil.assertResult(stringFunction.invoke(Period.ofYears(-24)), "-P24Y");
}