@Test
public void testCalloc() throws Exception {

    //given
    final int longSize = sizeof(0L);
    final int nroLongs = 67;
    //when
    try (Pointer<Long> longPointer = calloc(nroLongs,
                                            longSize).castp(long.class);) {
        //then
        for (int i = 0; i < nroLongs; i++) {
            //FIXME use jni to read values
            assertThat(longPointer.get(i)).isEqualTo(0);
        }
    }
}