@Test
void usingArgs() {

    Collection<long[]> coll = (Collection<long[]>) functionServiceHelper
            .onRegion(idRegion)
            .withArgs("test")
            .execute("PartitionedRegionIDGeneratorFunction")
            .getResult();
    assertEquals(coll.size(), 1);
    long[] ids = coll.iterator().next();
    assertEquals(ids.length, 2);
    assertEquals(ids[0], 0);
    assertEquals(ids[1], 1);
}