public static <T> T getItemAtPositionOrNull(T[] array, int position) {
        if (position >= 0 && array.length > position) {
            return array[position];
        }
        return null;
    }
@Test
    public void getItemAtPositionOrNull_whenEmptyArray_thenReturnNull() {
        Object[] src = new Object[0];
        Object result = ArrayUtils.getItemAtPositionOrNull(src, 0);

        assertNull(result);
    }