@Test
public void invokeTimeUnitsParamsWithOffsetWithNanoseconds() {

    FunctionTestUtil.assertResult(
            timeFunction.invoke(10, 43, BigDecimal.valueOf(15.154), Duration.ofHours(1)),
            OffsetTime.of(10, 43, 15, 154000000, ZoneOffset.ofHours(1)));
    FunctionTestUtil.assertResult(
            timeFunction.invoke(10, 43, BigDecimal.valueOf(15.154), Duration.ofHours(-1)),
            OffsetTime.of(10, 43, 15, 154000000, ZoneOffset.ofHours(-1)));
}